Hi,
we use Crystal Reports "Crystal ActiveX Report Viewer Library 11.5" and Reports, that are linked with an oracle database. Everything works fine, but unfortunatelly we have to use oracle temporary tables, that contains data per session. So the report can only access data from this table that has been written within the same connection.
I know how to change the connection of a report at runtime, but i have no idea, how to set an already opened connection. We have a COM/.NET-mixed application. The database connection is a standard .NET connection (IDbConnection). For using the report now we use the report connection and just assign the password.
Private Sub ChangeReportTableConnection(ByRef rptTable As CRAXDRT.DatabaseTable)
rptTable.ConnectionProperties("Password") = "Password"
End Sub
So the report will open its own connection, with that it cannot access the data of the temporary table. So we need to set the current connection to the report. Any ideas?
Maik