Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GROUP BY: missing clause
Message
 
To
22/12/2006 11:44:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01179682
Message ID:
01179784
Views:
11
In VFP 9 there is a command SET ENGINEBEHAVIOR 70 that causes the VFP9 sql parser to ignore the ASNI standard and allow VFP version 7.0 and earlier syntax to run with out throwing errors. EB is the abbreviation for SET ENGINEBEHAVIOR


>Hi Tore,
>
>Thanks for the info. I actually just add the COMNAM_08 as GROUP BY. I am not sure what EB means. Please explain. Thanks!
>
>I have this now and I am getting the right data.
>
>
>SELECT VENID_55, COMNAM_08, SUM(ORDCST_55*TNXQTY_55) AS POCOST, ;
>	SUM(COST_55*TNXQTY_55) AS STDCOST ;					
>FROM VRSUMINV1 ;
>GROUP BY 1,2 ;
>ORDER BY 4 DESC ;
>INTO CURSOR VRSUMINV2
>
>
>Best Regards,
>Sam
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform