General information
Category:
Forms & Form designer
>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only