Some problems with database access

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ultravibe
Posts: 65
Joined: Sat Jan 17, 2015 12:06 pm

Some problems with database access

Post by Ultravibe » Tue Apr 21, 2015 8:20 pm

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

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Re: Some problems with database access

Post by ghettocottage » Tue Apr 21, 2015 9:32 pm

what version of Livecode are you using?

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

Ultravibe
Posts: 65
Joined: Sat Jan 17, 2015 12:06 pm

Re: Some problems with database access

Post by Ultravibe » Tue Apr 21, 2015 11:08 pm

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...

Post Reply