Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE-DB to VFP database and left outer joins don't work?
Message
De
22/07/2002 15:16:32
 
 
À
22/07/2002 13:47:24
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00680895
Message ID:
00681320
Vues:
17
Have you applied the latest Crystal fixes? They were released a couple of weeks ago.


>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform