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 : "Crpe1.Connect.DatabaseName := '<CRWDC>Database=' + DatabaseName" 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 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 : "Crpe1.Connect.DatabaseName := '<CRWDC>Database=' + DatabaseName" 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.