Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sum inside grid
Message
From
03/04/2005 13:35:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/04/2005 04:22:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001076
Message ID:
01001103
Views:
15
>hi all,
>i try to make sum at my grid .but no result
>at mygrid column23 header 1 text1 via procedure valid
>
>replace sum1 with d1+d2+d3+d4  &&sum1,d1,d2,d3,d4 fields atmytable and atmygrid1
>
>thanks

If you want to have the sum of several fields in another Column, just put the sum (or other calculation) in the Column.ControlSource. For example, Grid.Column5.ControlSource = D1 + D2 + D3 + D4
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform