Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to refresh ALL pages
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00248282
Message ID:
00248286
Views:
13
>I have a form , includes 1 Grid page, and 5 data pages. I am trying to refresh the whole from, as I move from record to record in the grid. Can I do this from 1 command. I have the following code, but it aint working:
>
>In AfterRowColChange in the grid:
> lcView = xxxx && Assign my view parameter from grid alias
> requery()
> this.refresh()
> thisform.refresh
>
>I thought that thisform.refresh would refresh all my pages, but for each page I have to go right into the field before I get the correct data.

No, it's by design, you don't want to refresh all the pages at once, or performance may suffer. The usual way to deal with it is to put

This.Refresh

in each page Activate...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform