How do I get the ID of a database?
harrison at all-auctions.com
Fri Jul 9 19:30:03 EDT 2021
When you open the database with revOpenDatabase you assign the whole thing to yourDatabaseID.
Look it up in the dictionary towards the end and you’ll find what I’m referring to.
yourDatabaseID will be an integer and you will use that to refer to your database for other functions.
Hope that helps!
> On Jul 9, 2021, at 6:04 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi all.
> I am getting more into MEMORY sqLite databases, and perusing the dictionary, I find no way to close a database or find the ID of a currently open database.
> I know I can store the ID somewhere, but I am finding that after troubleshooting and tracing my code I have a lot of database IDs open and I want to start with a clean slate.
> Apart from quitting Livecode, is there a way to do this? There is nothing under the Database Library category.
> Bob S
More information about the use-livecode