Referencing a subform

I

Ian

Hi can anyone help?

I am trying to reference a control on a tabbed subform from the main form.

I have used the following code:

If (subform_control = "") Or IsNull(subform_control) Then
MsgBox "message", vbCritical, AppTitle
AllowEdits = True
Me.subform.Form.control.SetFocus
Exit Sub
End If

Help and comments would be appreciated.

Thanks

Ian
 

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