Database
If DatabaseLocation is not set, set this to the directory containing the Btrieve database files. If DatabaseLocation is set, set this to the name of the database.
Data Type
string
Default Value
""
Remarks
Btrieve specifies the database via the filepath containing the database files rather than simply the name of the database.
Scenario 1: Only Database Set
When Database is set and DatabaseLocation is not, supply the path to the database files in Database. The database name used by the adapter is the last element of the path supplied in the Database property.
For example, suppose you set:
Database=C:\ProgramData\Actian\PSQL\Demodata
In this case, "Demodata" is the database name used by the adapter and the adapter searches C:\ProgramData\Actian\PSQL for the database files.
Scenario 2: Both Database and DatabaseLocation Set
When both Database and DatabaseLocation are set, explicitly supply the database name (with no directory path prepended) in Database.
For example, suppose you set:
Database=Demodata;DatabaseLocation=C:\ProgramData\Actian\PSQL\Demodata2
In this case, "Demodata" is the database name used by the adapter and the adapter searches C:\ProgramData\Actian\PSQL for the database files.