Force Save with Main Form and SubForms

  • Thread starter Thread starter Tonie via AccessMonster.com
  • Start date Start date
T

Tonie via AccessMonster.com

How do I code a FORCE SAVE BUTTON on the Main form that will also save the
edits made to the subforms that are on tab control pages when the user goes
to the next record?

Thanks,
Tonie
 
You can't.

The main form saves its record before it allows you to move into the
subform, and each subform saves its own record before you can move back to
the main form or to another subform.
 
So, you're saying that a SAVE button on the main form does nothing to the
subforms. And that when I make my edits on the subform and move back to the
main form they are automatically save.

What if the user is in the subform, and just made an edit and clicks the exit
"X" to close the application, but never clicked anywhere on the mainform?
Will the record still save?
 
Tonie said:
So, you're saying that a SAVE button on the main form does nothing to
the subforms. And that when I make my edits on the subform and move
back to the main form they are automatically save.

What if the user is in the subform, and just made an edit and clicks
the exit "X" to close the application, but never clicked anywhere on
the mainform? Will the record still save?

Yep. Unless it was not a valid record.
 
Back
Top