It was the RecordSource issue...I changed it in the form and it zapped my grid settings.
Thanks.
LL
>Larry,
>I typed the expression directoy into the property sheet and it worked as expected using VFP8 SP1. Are you adding an extra characters in the property sheet (e.g. ", ')? If so, remove them and try again.
>
>HTH.
>
>>I have a grid with ColumnCount set to 3. If I put a default value in the a Column's DynamicBackColor property...
>>IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))
>>...it does not work.
>>
>>But if I use...
>>
>>thisform.Grid1.SetAll("IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))","Column")
>>
>>in the init it works.
>>
>>Is this a bug?
>>
>>TIA,
>>Larry Long