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

I am planing to convert my Projects from VFP6 to VFP9.
Following command is written in VFP6 and work fine but when I run it into VFP9,
it show following error message

SQL:GROUP BY Clause is missing or invalid

What should I do get rid of this error message.
Please help
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform