Referencing a subform

  • Thread starter Thread starter Ian
  • Start date Start date
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
 
Back
Top