It di NOT get worse, it got better. They fixed a possible problem.
Most of use set grid properties in code anyway, setting the recordsource to [] befor a requery of the underlying table.
It just got better.
My 2 cents :-)
Peter
>>>Hi all,
>>>
>>>I use a grid called course in one of my forms where I set all the properties of my grid.
>>>
>>>I modify my table called tblPRDET in my form and reset the grid recordSource to the table name. Each time I do this I lose all the previously set properties of my grid.
>>>
>>>Any ideas why this happens?
>>>
>>>THISFORM.pgf1.page2.grdCourse.RecordSourceType = 1
>>>THISFORM.pgf1.page2.grdCourse.RecordSource = "tblPRDET"
>>>THISFORM.pgf1.page2.grdCourse.Enabled = .T.
>>
>>If the format of grid doesn't need any change:
>>
>>with THISFORM.pgf1.page2.grdCourse
>> .RecordSource = ""
>> * Do modifications
>> .RecordSource = "tblPRDET"
>>endwith
>>
Cetin
>
>Cetin, probably you known,
>but on VFP9 the grid class is gotten worse.
>Help doc:
>
>Grids and RecordSource and ControlSource Properties
>In Visual FoxPro 9.0 there is a change in Grid control behavior.
>When the RecordSource property for a Grid control is set,
>Visual FoxPro 9.0 resets all ControlSource
>properties to the empty string ("") for all columns.
>In earlier versions of Visual FoxPro,
>the ControlSource properties were not properly reset,
>so problems could occur when a RecordSource with a different structure was later bound.
>This change may impact scenarios involving Access and Assign methods or BINDEVENT( )
> function calls made against a Grid column's ControlSource property.
>
>
>Fabio
Peter Cortiel