>>I have a grid that is based on a parameratized view. The grid has 10 columns, 8 of which have a view.field as a ControlSource. The last 2 columns are calculated values and have no ControlSource. VFP however, insists on showing 2 of the views fields in these columns instead. I found in help that this is a "Feature" of ControlSource for a Column in a grid. Any suggestions on how to work around this would be greatly appreciated. TIA
>
>You should use controlsource:
>Grid.ColumnX.Controlsource="thisform.getcolumnX()"
>GetcolumnX is form's custom method where you will put your calculations. If calculation code is not complicated (e.g. IIF...) then you can type it directly to property sheet.
That did the trick. Thanks very much Ed.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.