Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 to VFP9, SQL error message
Message
From
17/08/2006 21:53:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
VFP6 to VFP9, SQL error message
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146620
Message ID:
01146620
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform