Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement