Inserting a Sqlite database

I’m building my first app and am attempting to connect an existing sqlite database under the App object.

I’ve attempted to select the App object then do an Insert:Database from the menu, but the database appears at the top of the contents. I have looked at an example and the database apears under App:Properties but I have no idea how it got there.

Can someone help?

Hello Bill,

You will want to connect to your SQLite DB in code.

Here is a good video on the subject SQLite

Here is some information from the Xojo docs Docs

Hope that helps :smiley:

Thanks,
I had seen some code to do it, but was curious about the insert database. I’ll have a look at the video.