
Problem with DSN using ODBC access in CrystalReports 5.0 (german and english version)
Hi everybody,
I'm using CR 5.0 (german and english) with MS VisC++ 5.0. My problem is as
follows:
To create a report for an existing ODBC datasource (Oracle DBMS 7.3 with
Oracle ODBC driver ver. 2.5) you have to specify the DSN to read the
structure of the data (tablenames and fieldnames for examples). When I later
try to open the report from VisualC++ code I am using the
CRPEngine::LogOnServer function to specify the DSN. If I am attempting to
choose a different DSN than the one specified at report-creation time, the
CRPEJob::Start function (using output to preview window) returns false and
the following behaviour occurs:
The preview window shortly opens (about 2-3 seconds) without displaying data
and then closes again.
When using the DSN specified at report-creation time, all works fine.
Is this a CR bug od a Oracle bug or am I just doing something wrong
Every hint (even a seemingly stupid one) via mail or reply is very welcome
Ciao, Carsten