• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More than one dbase file possible?
#19
(03-18-2018, 09:41 AM)Zubersoft Wrote: My plan is to provide a new option in the settings to "switch library", and this will be a list of databases the user has set up. On Android, I can support having those databases be in any folder the application has access to. For simplicity's sake, if "Expose Database" is disabled, I will only ask the user for a name for each library and each database file will be stored in the same directory in the internal application data directory. If expose database is enabled, then I'll let the user select the location for each database file, but I'll default to the storage location. Switching the active library will just update a preference file which the application will read at startup to figure out which database file to load. If you do something like perform a library backup, it will only back up the currently selected database. In fact, every action in the application will only act upon the currently active database. This will keep the feature and complexity from getting out of hand and it won't require huge design changes. Have multiple open databases at once is something I have no desire to support.

On Windows 10, I have to keep every database file in the application data directory next to mobilesheets.db - there is no flexibility in this as the SQLite library fails if the database files are not in that folder. So the user will be able to create multiple libraries and name them, but they will not have control over where the database files are stored.

I'll be curious if this approach will satisfy the needs of those who have requested this type of feature in the past. I'm open to feedback of course, but the one thing that I won't even try to support is using multiple database files at once.

Mike

Thanks Mike.
I play euphonium and now need to occasionally play baritone in the bands and want to use the appropriate library.  I set up individual libraries but hadn't realised about changing the name of the database. This will solve the problem of overwriting the files.
Reply


Messages In This Thread
More than one dbase file possible? - by madoues - 11-21-2017, 06:29 AM
RE: More than one dbase file possible? - by BRX - 11-21-2017, 06:51 AM
RE: More than one dbase file possible? - by BRX - 03-18-2018, 04:56 AM
RE: More than one dbase file possible? - by alanberris - 09-09-2020, 06:30 PM
RE: More than one dbase file possible? - by BRX - 03-21-2018, 12:58 AM
RE: More than one dbase file possible? - by BRX - 03-22-2018, 07:12 AM
RE: More than one dbase file possible? - by BRX - 03-23-2018, 02:45 AM
RE: More than one dbase file possible? - by BRX - 03-23-2018, 05:35 AM



Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.