William -
When a pageframe is REFRESH()d, only the active page actually gets REFRESH()d. What you will need to do is insert code (perhaps into the page.Activate() event) which will call THIS.REFRESH().
And just because I know someone else will bring this up, there are very few circumstances where SCATTER and GATHER are preferable to using table buffering. It does the same thing, but in a more transparent and fully-functional way.
Anyway, let me know if this works for you!
zahid
>Hi Everyone:
>
>The problem is simple.
>
>I generate a 2 page Frame page in VFP 5.0, with each page referencing the same database, but different fields. When I go to an "Add" mode, and Scatter MEMVAR Blank, the MEMVAR's generated are placed in the memory variables. All work normal in that process.
>
>However, if I try to switch Frame Pages, the second page has the previous data on display (from the record pointer), even though the memory variables are active. When I gather data, all is normal and the proper data is saved.
>
>The problem is that when I switch Frame pages to the second page, I can not get the second page to display blank memory variable information. I can not reference a Record Number, since a record has not been assigned or established at this point.
>
>Question? How do I force the display of memory variables (i.e., m.xxxxxxx) on the second page?
>
>Any suggestions would be greatly appreciated
>
>Bill Zebrow
>
zebrow@earthlink.net