>this is the code to initialize the grid
>
>and i get this error
>
>Err.mess.:Unknown member CMBPRICE.
>why???
>the control exist
>
>WITH THISFORM.WSgrid1
> .recordsource = "CURSOR_DETAIL"
> .columncount = 5
> .Column1.Header1.caption = "Type"
> .Column2.Header1.caption = "Qty"
> .Column3.Header1.caption = "Section"
> .Column4.Header1.caption = "Item"
> .Column5.Header1.caption = "Square Feet"
>
> .column1.width = 216
> .column2.width = 108
> .column3.width = 108
> .column4.width = 216
> .column5.width = 100
>
> .Column1.ControlSource = "CURSOR_DETAIL.action"
> .Column2.ControlSource = "CURSOR_DETAIL.qty"
> .Column3.ControlSource = "CURSOR_DETAIL.secTion"
> .Column4.ControlSource = "CURSOR_DETAIL.ITEM_CODE"
> .Column5.ControlSource = "CURSOR_DETAIL.squarefeet"
>
>
>
> .Column1.CMBPRICE.RowSource = "VCONTCODE.TYPETRX,DESCR"
> .COLUMN1.CMBPRICE.RowSourceType = 6
>
>
>
> .COLUMN1.Alignment = 0
> *.COLUMN1.TEXT1.Alignment = 0
>ENDWITH
According to this code it doesn't exist. Where is the code that adds cmbPrice object to column1 ?
Cetin