Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GROUP BY: missing clause
Message
From
21/12/2006 16:33:53
 
 
To
21/12/2006 16:28:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01179682
Message ID:
01179683
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>What is wrong with this SELECT statement? I am getting "SQL: GROUP BY clause missing or invalid" error message. Please help... Thanks, Sam
>
>
>SELECT VENID_55, COMNAM_08, SUM(COST_55*TNXQTY_55) AS STDCOST, ;
>	SUM(ORDCST_55*TNXQTY_55) AS POCOST ;
>FROM VRSUMINV1 ;
>GROUP BY VENID_55 ;
>ORDER BY VENID_55 ;
>INTO CURSOR VRSUMINV2
>
In VFP9 you cannot have COMNAM_08 in the field list, because it's missed in GROUP clause.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform