Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating on a GRID
Message
De
10/08/1998 09:36:25
 
 
À
10/08/1998 09:28:16
Eduardo Porcel
Grupo Ipsofakto, S.A. de C.V.
Mexico City, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125215
Message ID:
00125219
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform