I have run across something similar when I have to requery/recreate the table/cursor that is the grids RecordSource. What I have found that fixes this is a form level method that does the following:
**Recreate data set
Thisform.MyGrid.RecordSource = ' '
Thisform.MyGrid.RecordSource = 'Myfile'
**Reset Grid Column Properties (if necessary)
Thisform.Refresh()
Usually, I will have to reset the column properties (titles, width, etc.).
Hope this helps
>I have a form class in VFP6 that I instanciate programmatically and set its grid control properties prior to issuing the form object's Show(). The problem that I am having is that when the form is not modal, the data does not display in the grid. When the WindowType is set to modal (which I don't want) it works.
>
>Any ideas would be appreciated.
>
>Doug
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place