Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ENGINEBEHAVIOR and Janus Gridex ODBC
Message
De
04/10/2004 13:16:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ENGINEBEHAVIOR and Janus Gridex ODBC
Divers
Thread ID:
00948523
Message ID:
00948523
Vues:
88
I am encountering some difficulty in using the Janus Gridex object in
an application I am developing. Using the command window, I can set
ENGINEBEHAVIOR 70 and get the following command to work the way I want it to:
SELECT company,company.phone,email,company.address,company.city,
company.post_code,company.cidcomp,people.name 
from company,cmpeopl LEFT OUTER JOIN people ON cmpeopl.cidpeop = people.cidpeop where company.cidcomp = cmpeopl.cidcomp and ! empty(company)  group by company
However, if I place this code into the Gridex object and try to run the form, I get an
"Invalid Group by clause" error which I can resolve by adding all returned columns into the GROUP BY clause. Is there any way to modify the Enginebehavior of the underlying VFP ODBC driver, or is there something else I should be looking at?

Andrew
On a CLEAR day you can see forever.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform