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

Crystal XI and Access 2010 - Issues Retrieving Data

Status
Not open for further replies.

TechSlinger

Technical User
Oct 31, 2013
19
CA
Hello

I have Crystal XI and was able to link to my Access 2003 table using the Access/Excel DAO connection. Now I've upgraded to Access 2010 and I have to use the ODBC connection. I created the ODBC to the database and Access 2010 drivers.

However, if I join more than 2 tables then I get the error message:
"Failed to retrieve data from the database. Details: 42000: [Microsoft][ODBC Microsoft Access Driver] syntax error in From clause. [Database Vendor Code: -3506]"

The resultant SQL is:
Code:
 SELECT `Data`.`ChartNo`, `Data`.`Disch Date`, `CMG_Plus_2012`.`CMG ENGLISH SHORT DESC`, `ICD_10_Codes`.`Block`
 FROM   {oj (`Data` `Data` LEFT OUTER JOIN `CMG Plus_2012` `CMG_Plus_2012` ON `Data`.`CMG`=`CMG_Plus_2012`.`CMG`) LEFT OUTER JOIN `ICD 10 Codes` `ICD_10_Codes` ON `Data`.`MrDx`=`ICD_10_Codes`.`DxCode`}

The table connections worked fine when using the DAO connection but not now. Why is that and how can I get around this error? Thanks.

 
I do not believe you can use and Access 2010 DB with Crystal XI (unless SAP released an update that I am not aware of). True, you should be able to use an ODBC, but from my experience it does not seem to work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top