Sergey,
It is the active page I am dealing with. I am probably missing something really basic or trying to do something impossible as this is my first attempt at using a grid with a SQL query driving the contents.
Larry
>The only active page of pageframe is refreshed when ThisForm.Refresh() runs. Put This.Refresh() in the Page.Activate of each page and see if this helps.
>
>>Part of my navigation button code calls ThisForm.Refresh() (so I can see the data for each record show up after navigation) which in turn calls the page refresh which calls the grid refresh which doesn't do anything visible.
>>
>>Larry
>>
>>>Maybe I'm missing something but what page refresh has to do with moving to the next record?
>>>
>>>>I put this code in the page's Refresh() method.
>>>>
this.grdAccSetSensors.Refresh()
>>>>dodefault()
>>>>
>>>>but it made no difference. Anyone have any ideas?
>>>>
>>>>>Call Refresh() method of the grid after you moved to the next record.
>>>>>
>>>< SNIP >
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA