Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group by problem
Message
 
To
22/05/2007 03:25:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01227552
Message ID:
01227559
Views:
16
Hi,

>SELECT COUNT(*) from myTable WITH (Buffering=.T.) where myTabble.key ='123' GROUP BY type
>INTO CURSOR pTempTable

You code looks valid. However, WITH Buffering is a feature that has been introduced in VFP 9. If you are a using an older version you would either need to update, or use a non-SQL solution such as COUNT FOR.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform