>Simple grid problem that's driving me nuts. I'm trying to disable a column in my grid if a logical field (users.logyes) is .T. I can't get the enabled property to behave. The error I'm getting is "data type is invalid for this property. Any ideas?
>
>llenabled = 'IIF(users.logyes,.F.,.T.)'
>THISFORM.grid1.SETALL("enabled",llenabled,"column")
>
>Thanks,
>
>John.
Suggest you replace llenabled with EVAL(llenabled) in SetAll(). As written it's trying to stuff a string into a logical property.
HTH,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing