Page 1 of 1

Set DB Location

Posted: Wed May 15, 2013 8:22 pm
by dantomlin
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

Re: Set DB Location

Posted: Thu May 16, 2013 12:24 am
by Mark
Hi Dan,

Yes, you have to use an external file. You can't avoid that. Standalones can't modify themselves.

Kind regards,

Mark