validate detail field on subform

M

mcnewsxp

i am using a continuous form as a subform for related detail records. i
need to be able to make sure a certain field on the detail form in not blank
when a save button is clicked on the main form. i can't find a handle to
this field.
thanks,
mcnewsxp
 
M

mcnewsxp

this works:

If IsNull(Forms!frmNewSeq!frmNewSeqSub.Form.Request) Then
MsgBox "Request can not be blank", vbExclamation
Forms!frmNewSeq!frmNewSeqSub.SetFocus
Exit Sub
End If
 
Top