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
 

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