>>>What is the best way to make sure all the pages of a pageframe are always showing current data? It seems like the refresh of the non top pages must be called explicitly to keep them current. Otherwise, if the page is showing data from a child table, it may not be the correct record until it is refreshed. I have tried various ways to deal with this including this.refresh in the activate event but I can't settle on the best method.
>>>
>>>Thanks for any insights.
>>
>>Why would you want to refresh data (and slow everything down) on pages that you can't see?
>
>I don't necessarily. I just want the user to see the proper child data when he/she clicks on a different page. Not data that may have belonged to a previous parent record.
Another way you could do it is to use the UIEnable method of a control to refresh the new page's controls. I've done it this way in the past by having a control that automatically gets added to each page when the page frame Init fires. You could possibly do it with BINDEVENT, also, but I've not done it that way.