Another quest, to get fancy, I implemented the following:
thisform.grid1.SetAll("DynamicBackColor", ;
"IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255) ;
, RGB(0,255,0))", "grid1") && Alternate white and green records
as was in the example, but no color changes are apparant. :(
>Nope. In the Init if the Grid:
>
>This.RowSourceType=0
>This.RecordSource="mytable.dbf"
>
>>If I may, I am trying to create a grid in the form designer that will have the properties & structure not known until the form is run. The user will select a dbf and I want the form to display it's records. Must I know the dbf ahead of time?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."