>>Can't you put the required expression in the Enabled property?
>>
>>.Enabled = inlist(tender.type,x,y,z)
>>
>>
>>(and column.sparse = .t.)
>>
>
>Didn't try that... but thanks for the heads up.... I wound up using DynamicCurrentControl for the Column to do the job...
>
>
>Thisform.grdTndrtype.column9.DynamicCurrentControl=;
> "IIF(INLIST(tndrtype.tndr_no,3,4,5,8,15),'chkCashBack','chkDisabled')"
>
>
>and added a "dummy" checkbox called chkDisabled that is Disabled and not bound.
>
>thanks!
Ok, Tommy, if that works for you then great! But I wouldn't use other then the .Enabled property of a control to set its enabled/disabled status... ;-)
----------------------------------
António Tavares Lopes