D
DKliem
For my question, I have a main form, MyMainForm, and a subform, MySubForm,
which are based on tables with a one-to-many relationship. The main form
shows records from the "one" side of the relationship; the subform shows
records from the "many" side of the relationship. The main form has a
true/false field, called MyTrueFalseField. The subform has a text field
which is called MyTextField.
My question is, when the true/false field in the main form is true, I want
all data in the subform to be deleted. What code can I insert into the
After Update Event to do this?
Vise Versa, if data is entered into the subform, I would like the true/false
field in the main form to be set to true.
Thank you for your time.
which are based on tables with a one-to-many relationship. The main form
shows records from the "one" side of the relationship; the subform shows
records from the "many" side of the relationship. The main form has a
true/false field, called MyTrueFalseField. The subform has a text field
which is called MyTextField.
My question is, when the true/false field in the main form is true, I want
all data in the subform to be deleted. What code can I insert into the
After Update Event to do this?
Vise Versa, if data is entered into the subform, I would like the true/false
field in the main form to be set to true.
Thank you for your time.