B
Bradley C. Hammerstrom
Access2000
Scenario: Two forms the user will go back and forth between; browsing
records on one form and clicking a button to go to the same record on the
other form. Then, browse on that form; find a record; click button to go the
same record back on first form. And so on. . .
I have working code for both command buttons (using OpenArgs), and for both
forms (OnLoad FindFirst), but this only works if the form is Opened (i.e.
closed first). So I think I need a line in the command button code that
evaluates the state of the calling form (is it opened or closed?), and opens
it if it is closed--or closes, then opens it if it is opened--so that the
OnLoad event happens.
Maybe I'm on the wrong track and should try OnFocus or similar?
Brad H.
Scenario: Two forms the user will go back and forth between; browsing
records on one form and clicking a button to go to the same record on the
other form. Then, browse on that form; find a record; click button to go the
same record back on first form. And so on. . .
I have working code for both command buttons (using OpenArgs), and for both
forms (OnLoad FindFirst), but this only works if the form is Opened (i.e.
closed first). So I think I need a line in the command button code that
evaluates the state of the calling form (is it opened or closed?), and opens
it if it is closed--or closes, then opens it if it is opened--so that the
OnLoad event happens.
Maybe I'm on the wrong track and should try OnFocus or similar?
Brad H.