A non-Tango question, but the Pervasive experts used to be on this list.
I need to connect to a Pervasive database that is not defined in the normal
fashion (it is not visible in the Control Center). There is a normal
Pervasive database on the network, with another database in a sub-folder. I
need to open the database in a sub-folder of the current database that is
opened.
Ex: database is located at:
o:\data\bicdat, I need to open o:\data\bicdat\uni
o:\data\xyz, I need to open o:\data\xyz\uni
The other database will always be in the uni sub-folder. I can connect via
ODBC, but this doesn't let me dynamically connect to the appropriate
database (varies with the Pervasive database that is opened). I assume I
need the dsn-less connection, but what is the connection string I need
(ADODB and/or .net)
For my 'normal' database, I have a connect string of:
cn.ConnectionString = "Driver={Pervasive ODBC Client Interface};
ServerName=" + sServer + "; DBQ=" + sDBId (sDBId = BICDAT, BICTST etc
depending on the database I want to open, and could be located anywhere on
the network)
How can I dynamically get to the database in the 'uni' sub-folder.
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf