Saving Form and Subform

  • Thread starter sboegeman via AccessMonster.com
  • Start date
S

sboegeman via AccessMonster.com

Hello -

I have a master form and 4 subforms. The subforms are presented in 4 tabs.
The controls in each subform are checkboxes. Referential integrity is
established between the master and child tables. When the master form is
saved I'd like some code to check each subform for null or unchecked
checkboxes and deny the save all subforms are null or unchecked. Can someone
please let me know on how to proceed?

Thanks!!

Stece
 
R

Rick Brandt

sboegeman said:
Hello -

I have a master form and 4 subforms. The subforms are presented in 4
tabs. The controls in each subform are checkboxes. Referential
integrity is established between the master and child tables. When
the master form is saved I'd like some code to check each subform for
null or unchecked checkboxes and deny the save all subforms are null
or unchecked. Can someone please let me know on how to proceed?

Can't be done. Whenever you move focus from subform to main form, subform to
subform, or main form to subform, the form losing focus is saved.
 
S

sboegeman via AccessMonster.com

Hi Rick -

Thanks - I was afraid of that, but it was worth a shot...

Steve

Rick said:
[quoted text clipped - 4 lines]
null or unchecked checkboxes and deny the save all subforms are null
or unchecked. Can someone please let me know on how to proceed?

Can't be done. Whenever you move focus from subform to main form, subform to
subform, or main form to subform, the form losing focus is saved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top