Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE-DB to VFP database and left outer joins don't work?
Message
From
22/07/2002 13:47:24
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, United States
 
 
To
22/07/2002 12:08:52
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00680895
Message ID:
00681271
Views:
20
After many more hours of work, I found the problem was that Crystal is using the Sybase syntax (*= in the WHERE clause) to invoke a left outer join, rather than the SQL-92 standard of LEFT OUTER JOIN in the FROM clause. I posted a message on Crystal's forums, but haven't heard back yet.

BTW, I got it to work by manually editing the SQL syntax, but it took me a couple more hours to figure out the magic to edit the syntax AND get the subreport link to work. It's still a Crystal bug, tho, and I hope they fix it soon. I would rather not have to manually edit all my reports' SQL statements. It seems to me that direct OLE-DB is simpler than ADO and probably faster.

This is doubly annoying because they use the correct syntax for VFP's ODBC. That's how I figured out what was going wrong. CR "knows" something about which ODBC providers use which syntax for outer joins and I suspect something similar is going on with OLE-DB, but the information hasn't been programmed in yet for VFPOLEDB.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform