Andrew,
I'm not sure I fully understand your problem, but it seems that it is the Refresh() method that is getting you.
*BY DESIGN* (yes, even documented in the Help!), Refresh() on a PageFrame only acts on the active page. I infer from this that Refresh() on a form containing a PageFrame does not do much to the PageFrame, let alone the ActivePage.
You should be able to get what you need by Refreshing the specific object.
Good Luck,
Jim N
>This should be a fairly straight forward scenario... HA.
>
>I have a one-to-many form with a pageframe. One of the pages is a grid control showing the many info, the 'one' info is all on other pages. Navigation is via a generic toolbar which skips in the parent table and then issues a Form.Refresh().
>With the navbuttons on the form it works fine. With any other control other the the grid active it works fine. But if a control in the grid has focus when I click on my 'Next' button, the grid does not refresh! the parent table is looking at the next record, the child one is not! Clicking on a different page and then back on the grid one updates it fine but isn't really whatr I am looking for. Is there a KeepLockedOnTheOriginalRecordComeWhatMay property that I can't find? What am I missing ?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement