Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter MEMVAR to a Frame Page
Message
From
02/04/2001 00:06:52
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00490812
Message ID:
00490822
Views:
8
Here's the problem, Bill: Inactive pages are not refreshed, so, although the values are correct if they are bound controls on those pages and it's a new record, it doesn't display correctly.

The absolute simplest way to resolve this is to put This.Refresh into the Activate event of the Page container.

>
>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform