Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select has changed
Message
 
 
To
03/09/2003 00:54:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00825543
Message ID:
00825546
Views:
22
This message has been marked as the solution to the initial question of the thread.
Dennis,

Look at the VFP8 help file on SET ENGINEBEHAVIOR, this change was made to make VFP SQL more ANSI compliant. You need an aggregate function to use GROUP BY.

>The following statement from my VFP6 code gets a "Group By clause is invalid" error in VFP8:
>
>SELECT * ;
>FROM rm!Vehicles ;
>GROUP BY Vehicles.Brand ;
>ORDER BY Vehicles.Brand ;
>INTO CURSOR myList1
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform