Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ENGINEBEHAVIOR and Janus Gridex ODBC
Message
From
04/10/2004 13:16:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ENGINEBEHAVIOR and Janus Gridex ODBC
Miscellaneous
Thread ID:
00948523
Message ID:
00948523
Views:
86
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.
Next
Reply
Map
View

Click here to load this message in the networking platform