Simultaneous SQLite Connections

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Kaubs
Posts: 124
Joined: Wed Jun 29, 2011 3:55 am

Simultaneous SQLite Connections

Post by Kaubs » Tue Jan 03, 2012 11:15 pm

Is it possible? I would like to open a connection while already connected to a different database. Has anyone had success with this? I have not be able to thus far.

Thanks!
Kaubs

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Simultaneous SQLite Connections

Post by Mark » Wed Jan 04, 2012 12:16 pm

Hi,

Yes, there is no problem opening a new connection to a different database but there might be a problem when trying to make two connections to one and the same SQLite database because you can open a file only once. I have never tried this so you'll have to experiment. Just try it.

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

Post Reply