Page 1 of 1

Some problems with database access

Posted: Tue Apr 21, 2015 8:20 pm
by Ultravibe
Hello, guyz!
I got problem: when i developing my application in LiveCode shell everything works!
All data for this app is stored in SQLite database.
Then i create standalone app and my troubles begins ((((
Only thing i change when building standalone app is location of database.
And its the same variable (global) in ALL stacks, but some substacks are works, some of them - not.
What exactly doesn't work: it looks like not all handlers can access to database (may be). I can't understand why (((
Second problem is: when i'm developing in LiveCode shell, in case of error execution stops and i see the error message.
When i test standalone app there are no error messages and seems like when error happens the handler simply quit and that's all, nothing more happens.
How can i know where exactly trouble is? may be some log files or smthg like that?
Please help!
P.S. I can send a .livecode file and database file (if it's nessesary) to see how the scripts looks like, how they works and test then to find where is the problem

Re: Some problems with database access

Posted: Tue Apr 21, 2015 9:32 pm
by ghettocottage
what version of Livecode are you using?

what does the line of code look like where you put the location of the database?

Re: Some problems with database access

Posted: Tue Apr 21, 2015 11:08 pm
by Ultravibe
Thank you, but i already solve the problem. The reason why error is come - version of .db file was old and some fields are absent. That's because i use some cloud drives and there were troubles with synching...