Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating values in the grid column
Message
 
To
17/09/1998 13:06:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00137875
Message ID:
00137909
Views:
17
Use either the sum or calculate commands in combination with the underlying field in the table/cursor. You can store the results to a custom property of the form conaining the grid (or other appropriate object). Finally bind your textbox to this property to display the results.

>Hi Everyone,
>
>I have created a grid containing values and I would like to sum up
>the values from one particular column into a text field.
>
>I used the ColumnCount property to get the number of columns display in the grid and some of the rows does not contain any value at all.
>
>Is there a way to calculate the value in a column for those values that are display in the grid ?
>
>Any help is appreciated.
>
>Steve
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform