Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating on a GRID
Message
From
10/08/1998 09:36:25
 
 
To
10/08/1998 09:28:16
Eduardo Porcel
Grupo Ipsofakto, S.A. de C.V.
Mexico City, Mexico
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125215
Message ID:
00125219
Views:
14
>hi im trying to program a form to handle orders and i allready have it with a problem i dont know how to perform a calculation in a grid
>
>example im trying to put in the diferent rows the operation qtty times unit price
>
>thanks

Your grid has recordsource (table/view/cursor) and you can use standard data manipulation commands to make any multiple row calculations (CALCULATE, COUNT, SELECT etc.). If you want to make calculation for each record only, then you can use customized Column.Controlsource, e.g. Grid.ColumnX.ControlSource="cursor1.price*cursor1.qty"
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform