Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating on a GRID
Message
 
 
À
10/08/1998 09:36:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125215
Message ID:
00125452
Vues:
12
>>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"

wondering about using a function for the controlsource of a grid column. can it be a method? i have had trouble getting this to work without putting into a prg.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform