Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Designer/Page Tabs
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00197211
Message ID:
00197214
Views:
21
Hi Jason,

>Then, I ran my form and entered data. I entered about 5 records to test things out. I noticed that when I scrolled through the records, the information on page 1 was changing with each record, but the info. on page two stayed the same! Page frame two was not reflecting the same record after record number one.
>
>What do I need to do to relieve this problem? Is it just a matter of tying to two together with a certain command in the properties grid, or did I really miss something really obvious when I was setting up my page frame?


Try doing a THIS.REFRESH() in the Activate of Page 2.

A better solution would be to insure that all pages REFRESH() everytime the Pageframe does by adding the following code to the REFRESH() of your base Pageframe class.

LOCAL i, lnPages
lnPages = THIS.PageCount
FOR i = 1 TO lnPages
THIS.Pages[i].REFRESH()
ENDFOR

Hope this helps...
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform