
Crystal Reports 6.0 and MS Oracle ODBC driver
Dear All,
I have a problem where I would like to use the Microsoft Oracle ODBC driver
(version 2.73.726900 that come with Data Access Components 1.5) with Crystal
Reports 6.0. I have a simple report joining two tables via a single column,
however the Cruystal Reports creates a join that looks like:
SELECT
table1."column1", table1."column2", table1."column3", table1."column4",
table2."trans_type"
FROM
{ oj "schema1"."table1" table1 INNER JOIN "schema1"."table2" table2 ON
table1."column4" = table2."column4"}
ORDER BY
table1."column1" ASC,
table1."column2" ASC
While this syntax in theory should work. Unfortunately the ODBC driver does
not support the INNER JOIN syntax (only the LEFT and RIGHT OUTER JOIN) -
although Crystal thinks it does. When the Intersolv drivers are used the
join looks like:
SELECT
table1."column1", table1."column2", table1."column3", table1."column4",
table2."trans_type"
FROM
"schema1"."table1" table1, "schema1"."table2"
WHERE
table1."column4" = table2."column4"
ORDER BY
table1."column1" ASC,
table1."column2" ASC
Does anyone have any ideas on the best way to work around this INNER JOIN
problem while keeping the Microsoft drivers for Oracle? Is this a problem
with Crystal Reports or the Microsoft Oracle ODBC driver?
Also are there any plans for Microsoft to release level 3.0 compliant
drivers for Oracle?
Thanks,
Allan Taunt
Global Information Solutions
Christchurch
New Zealand.