M
mscertified
I have a form and a subform with a one-many relationship. Before I exit the
form, I must validate that there is at least one row in the subform.
Is there an easy way to do this?
Also, if there is no row, I display a msgbox and then need to set focus to
the subform, how? I tried the syntax in my Access book and it does not work.
Here is what I used:
Me.Controls("frmCorrespRuleXref_subform").Form.Controls("Chapter").SetFocus
form, I must validate that there is at least one row in the subform.
Is there an easy way to do this?
Also, if there is no row, I display a msgbox and then need to set focus to
the subform, how? I tried the syntax in my Access book and it does not work.
Here is what I used:
Me.Controls("frmCorrespRuleXref_subform").Form.Controls("Chapter").SetFocus