Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local View Sum Up
Message
 
 
To
19/06/2008 02:31:25
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01325352
Message ID:
01325375
Views:
8
Before you can fix it, you should understand why you're getting the error. See Re: Change in SQL commands! Thread #941771 Message #941774

>
>A table call batch with fields itemcode, batchid, qtynow, qtyatfirst.
>
>I use a local view to sum up the quantity at VFP 6 and have not problem; while at VFP9 it prompt me :
>SQL : group by clause is missing or invalid.
>
>The SQL statment is select itemcode, qtynow, sum(qtynow) as total ;
>where itemcode=?thisform.query group by itemcode order by itemcode
>
>thisform.query is a property I set at the form to holde the specific itemcode I want to check.
>
>
>What is the wrong and how can I solve the problem.
>
>
>
>Regards,
>
>Ransome
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform