Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group By
Message
De
08/10/2007 13:26:42
 
 
À
08/10/2007 13:24:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01259496
Message ID:
01259498
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Has anyone had a problem with the group by in Select Sql command. Per the help file My syntax is correct but it keeps erroring out the Group By is invalid. Here is the Syntax
>
>SELECT order_no,client_no;
> FROM cr_Assig;
> WHERE !cr_assig.check_performed;
> AND cr_assig.start_date<=DATE();
> AND EMPTY(cr_assig.end_date);
> GROUP BY order_no;
> INTO CURSOR temp1

need to have all fields in the group by (i.e. GROUP BY order_no, client_no;) if not in a function. update: check message#1191849 for more explanation.

since vfp 8.

HTH
Beth
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform