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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem changing databasename in Delphi/VCL

Status
Not open for further replies.

gquint1

Programmer
Apr 25, 2002
1
NL
Hi there,
I have written a Report Viewer in Delphi 6 using the VCL for CR 8.5. It uses ODBC only. When I deploy the program I want my user to be able to redirect the location of the database without changing the DSN. From the help file I should use the following code : &quot;Crpe1.Connect.DatabaseName := '<CRWDC>Database=' + DatabaseName&quot; for an SQL-database. However, when using a ODBC-connection to an Interbase-connection, it does not connect (error 536). Can anyone help me with this ?

Regards,
Gerard Quint.
 
I was working on Windows XP when I ran into the problem. Now I discovered that on NT it does work correctly !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top