Use ODBC and SQLite in same application
Use ODBC and SQLite in same application
I have a project where I need to access a local SQLite database, and transfer data to a remote ODBC database. Is it possible to call both UseODBCDatabase() and UseSQLiteDatabase() in the same application so that I can connect to either db as needed with OpenDatabase?
Re: Use ODBC and SQLite in same application
Yes you can. I have an application that does exactly that. As long as your Id for each database connection is different it works without issue.
Re: Use ODBC and SQLite in same application
Base ...
Code: Select all
UseODBCDatabase()
UseSQLiteDatabase()
db1 = OpenDatabase(#PB_Any, Your-ODBC-Database, "", "", #PB_Database_ODBC)
db2 = OpenDatabase(#PB_Any, Your-SQLite-Database, "", "", #PB_Database_SQLite)
...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive