>>
>>did you explicitly reset the datasource?
>>
>>(thisform.mygrid1.recordsource = 'mytable')
>>
>>often (especially when the grid resides on a pageframe and the page becomes temporarily deactivated), the grid forgets its datasource, and must reminded.
>
>Hi Erik,
>
>This is my problem. I have a pageframe on my form. After I did the following commands it works.
>
>ThisForm.Pgf1.Page1.Mygrid.RecordSource = ThisForm.Pgf1.Page1.Mygrid.RecordSource
>
>Thank you very much.
>
>Jim S
A better place to put the code is in the activate event of that page. This way you know that whenever the page is active, the grid always has the correct data in it, and you don't have to remember to set the recordsource from wherever you make updates to the table. Glad I could help.
Erik Moore
Clientelligence