Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP : How to get the sum of a column in a grid? Urgent!
Message
From
02/01/2000 10:27:11
 
 
To
02/01/2000 10:23:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00311340
Message ID:
00311345
Views:
17
Create a view that is SELECT SUM(field) AS sumfield FROM gridtable. In the AfterRowColumnChange event of the grid, requery the view. Put a textbox to store the total somewhere on the form and make it Enabled=.F. and ControlSource = View.Sumfield.

>As subject! Please help!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform