Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 to VFP9, SQL error message
Message
 
À
17/08/2006 21:53:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01146620
Message ID:
01146623
Vues:
20
>SQL:GROUP BY Clause is missing or invalid

>
>SELECT *,;
>	SUM(IIF(Mode="B",BAGS,0))AS BAGS,;
>	SUM(IIF(Mode="L",BAGS,0))AS LOSE,;
>	SUM(WEIGHT) AS unfix_kg,;
>	SUM(W_KG) AS unfix_a;
>	WHERE BETWEEN(DATE,F_DATE1,T_DATE1);
>	FRoM AVLBOOK;
>	ORDER BY ACC_CODE;
>	GROUP BY ACC_CODE;
>	INTO CURSOR XYZ
>
Replace the * with ACC_CODE in your SELECT field list. Also, you can SET ENGINEBEHAVIOR 70 prior to the command and leave as is.
Del
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform