Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select has changed
Message
 
 
À
03/09/2003 00:54:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00825543
Message ID:
00825546
Vues:
23
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform