I am pleased that I can use a Sqlite Database with a stack in the IDE, using the Query Builder. It even works when I run an Os X standalone on my computer. If I run the Os X standalone on my wife's computer or on my son's computer, the application cannot find the sqlite database, even though I copy the database with the application.
In the Standalone Application Settings, I use the Copy Files tab to copy the referenced database into a folder "Documents". This folder is at the same level as the application in the OS X bundle. I've tried manually moving the database file around in the bundle but in none of the locations does the application find the database.
Any advice?
Thank you.
Jim Little
Using Sqlite Database with Standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 47
- Joined: Thu Apr 27, 2006 11:19 pm
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Re: Using Sqlite Database with Standalone
The problem is that the Query Builder stores the full path to the SQLite database file; so once you move the application to adifferent com=puter, and don't place it in exactly the same spot, it won't find the file.
Look at this topic for more information on how to dynamically alter the 'Host' database location for all automated queries.
HTH,
Jan Schenkel.
Look at this topic for more information on how to dynamically alter the 'Host' database location for all automated queries.
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
-
- VIP Livecode Opensource Backer
- Posts: 47
- Joined: Thu Apr 27, 2006 11:19 pm
Re: Using Sqlite Database with Standalone
Jan,
Thanks so much for the guidance. I will give it a try.
Jim Little
Thanks so much for the guidance. I will give it a try.
Jim Little