Failed to Return Rowset” Details 42000:[Thoroughbred Software][TS ODBC DataServer]Expected lexical element not found.
the above is a statement i get when trying to extract data from an odbc database.
the query done in crystal reports 8.5 works but does not in crystal report 9.0
from what i've read at crystal's site is that the outjoin syntax is not being accepted by the odbc driver that is being used.
i found a post that explained the exact type of problem that i'm having but no solution was added. I'm hoping someone knows of a solution now though.
8.5 generates
SELECT
POCPOHF."PO_NUMB", POCPOHF."VENDOR_CODE", POCPOHF."DATE_ORD",
POCPODF."PO_LINE_NUMB", POCPODF."ITEM_CODE", POCPODF."QTY_ORD",
PODPOIH."APPROV_NAME", PODPOIH."FOB_CODE"
FROM
{ oj ("POCPOHF" POCPOHF INNER JOIN "PODPOIH" PODPOIH ON
POCPOHF."PO_NUMB" = PODPOIH."PO_NUMB")
INNER JOIN "POCPODF" POCPODF ON
POCPOHF."PO_NUMB" = POCPODF."PO_NUMB"}
9.0 generates
SELECT "POCPOHF"."PO_NUMB", "POCPOHF"."VENDOR_CODE", "POCPOHF"."DATE_ORD", "POCPODF"."PO_LINE_NUMB", "POCPODF"."ITEM_CODE", "POCPODF"."QTY_ORD", "PODPOIH"."APPROV_NAME", "PODPOIH"."FOB_CODE"
FROM ("POCPOHF" "POCPOHF" INNER JOIN "POCPODF"
"POCPODF" ON "POCPOHF"."PO_NUMB"="POCPODF"."PO_NUMB") INNER JOIN "PODPOIH" "PODPOIH" ON "POCPOHF"."PO_NUMB"="PODPOIH"."PO_NUMB"
i've tried modifying the link's to have outjoin right and out join left etc but non of the combinations work
thanks in advance
the above is a statement i get when trying to extract data from an odbc database.
the query done in crystal reports 8.5 works but does not in crystal report 9.0
from what i've read at crystal's site is that the outjoin syntax is not being accepted by the odbc driver that is being used.
i found a post that explained the exact type of problem that i'm having but no solution was added. I'm hoping someone knows of a solution now though.
8.5 generates
SELECT
POCPOHF."PO_NUMB", POCPOHF."VENDOR_CODE", POCPOHF."DATE_ORD",
POCPODF."PO_LINE_NUMB", POCPODF."ITEM_CODE", POCPODF."QTY_ORD",
PODPOIH."APPROV_NAME", PODPOIH."FOB_CODE"
FROM
{ oj ("POCPOHF" POCPOHF INNER JOIN "PODPOIH" PODPOIH ON
POCPOHF."PO_NUMB" = PODPOIH."PO_NUMB")
INNER JOIN "POCPODF" POCPODF ON
POCPOHF."PO_NUMB" = POCPODF."PO_NUMB"}
9.0 generates
SELECT "POCPOHF"."PO_NUMB", "POCPOHF"."VENDOR_CODE", "POCPOHF"."DATE_ORD", "POCPODF"."PO_LINE_NUMB", "POCPODF"."ITEM_CODE", "POCPODF"."QTY_ORD", "PODPOIH"."APPROV_NAME", "PODPOIH"."FOB_CODE"
FROM ("POCPOHF" "POCPOHF" INNER JOIN "POCPODF"
"POCPODF" ON "POCPOHF"."PO_NUMB"="POCPODF"."PO_NUMB") INNER JOIN "PODPOIH" "PODPOIH" ON "POCPOHF"."PO_NUMB"="PODPOIH"."PO_NUMB"
i've tried modifying the link's to have outjoin right and out join left etc but non of the combinations work
thanks in advance