Gerard,
Instead of adding code to every page you ever create there is a PageFrame class and PageRefresher class over on my website. If you use it you'll never have to worry about the issue again. It's under Q&A then OOP.
>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.