Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total the qty
Message
From
23/07/2009 17:39:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Total the qty
Miscellaneous
Thread ID:
01414084
Message ID:
01414084
Views:
111
I receive the order in text file:
3001     10
3002      5
3001      6
3002      4
I append them to the table:
use myorder
append from "order.txt" sdf
then I get:
StockId  Qty
------- ----
3001     10
3002      5
3001      6
3002      4
while I wish the same StockId will be total together:
StockId  Qty
------- ----
3001     16
3002      9
is there any easy way to do it?

thanks for the help
Next
Reply
Map
View

Click here to load this message in the networking platform