Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3886

SQLite Database Sharing

$
0
0

Hey All,

I now, I’ve dug through the forums, and I know that “database on iCould Drive” is a bad idea - but this may be different…?

I have an app using a local SQLite database stored o the device. What I REALLY would like is for that database to be able to share its data between other devices within (for example) an associated iCloud (drive?) account.

Don’t want to reveal too much, so let’s call the app “Bob’s Car Stuff” - geared to companies with 1-20 employees. Employee goes on location and creates an “entry” to the database (Job Name, Location, car model, date, etc. - (my current table count is 8 - all text, and all less than 100 characters). For that “job”, various options are filled (ex. Tinted windows, pin-striping, leather steering wheel cover, and a description of the work done, etc. - on my database, 12 columns)

Point being, this isn’t a big database with a boatload of data - it’s small without any “large” data. Works great on a “local” SQLite database, but I need the data to be shared across all devices associated with that “account” (iCloud Drive access…?)

I know that “storing a database on an iCloud Drive” is a bad idea - but this is a database that won’t be “hit” very often, and “new” data from other users doesn’t really need to be available to other users while using the app - is there a way to check to see if the database is “busy” - or is there a better solution (I would REALLY like to avoid 3rd party plug-ins or subscription-based solutions)

Is there a way to connect to the database, do whatever, and disconnect - and, if so, is there a way to check to see if “someone else” is connected - and try again after XYZ time…?

Thanks in advance!

Marc

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3886

Trending Articles