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

Subreport datasource problem - CR9, Delphi 5

Status
Not open for further replies.

bmarks

IS-IT--Management
Sep 25, 2001
85
CA
I have a strange problem. We are using Delphi 5, CR9 and the CR9 crpe32.dll with a VCL wrapper. Delphi temporarily overrides the ODBC settings for the ODBC datasource that the reports use.

This normally works fine. However, in this case the program calls the same report multiple times with different parameters. The first call works fine. The second (and subsequent) call(s) there is a problem. The main part of the report is fine, but the subreports are wonky. Turns out that the override of the ODBC driver is not maintained into the subreports and it resets to the System DSN ODBC driver.

Has anyone ever encountered this before or have any ideas?

Thanks in advance!
 
Forgot to mention the database is Interbase 7.5.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top