Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BDE and ODBCADM(?)

Status
Not open for further replies.

corsair2

IS-IT--Management
Feb 21, 2001
55
GB
I've set up a "MyTemp" alias to which I wish to assign a variety of different MS Access tables at run-time based on a user selection which changes the Parameter for Database Name to the required value. The parameter list for the selected Database Alias is then displayed as a check.
However, when I try to retrieve the table names from the Database I get an EDBEngineError with the message

"General SQL error. [Microsoft][ODBC Microsoft Access Driver]Invalid connection string attribute DATABASE Alias:MyTemp"

The connection string within the BDE is fine.
However, I've deliberately left the Database name in ODBCADM empty (to enable the user selection facility) and I think this is where the problem is - anyone know how to set this (temporarily)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top