Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group by
Message
From
14/01/2005 13:21:39
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977297
Message ID:
00977302
Views:
37
>Hi All:
> How do can I use Group by in VFP 8? I am using the following command and it gives me an error, what am I doing wrong.
>
>SELECT * from mytable2 GROUP BY ID INTO CURSOR ctemp.
>The error is sql: Group by clause is missing or invalid.
>Thanks
>MA

Mahmood,

Beginning in Version 8, group by clauses have to include all non aggregated fields.

As an alternative, you can SET ENGINEBEHAVIOUR 70.

HTH,
Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform