When I built my program, I stored the location of the sqlite database in a field with the ability to change that location by clicking on a button. Then, I built my standalone. Now when using the standalone, I can change the location of the database and the program works but when I open the program again, the database location is the location of when I built the standalone, its not the location of when I last in the program.
How do I have a user change the database location and have the program remember it the next time the program opens?
Do I have to store it in an external file? I was trying to avoid that...
Thanks, Dan
Set DB Location
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Set DB Location
Hi Dan,
Yes, you have to use an external file. You can't avoid that. Standalones can't modify themselves.
Kind regards,
Mark
Yes, you have to use an external file. You can't avoid that. Standalones can't modify themselves.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode