A
Arlend Floyd
Here what im trying to do. If any of the three Text fields are null then
display msgbox. It works fine with just one text box, but I can’t seem to
understand how to look at three text fields. What’s the proper way to use
multiple fields?
If IsNull([Text65] Or [Text67] Or [Text69]) Then
intSave = MsgBox("Are you sure you want to go to a new customer without
inputing a Action?", vbYesNo + vbQuestion + vbDefaultButton2, "Save
Confirmation")
If intSave = vbYes Then
DoCmd.Close
DoCmd.OpenForm "FrmCustSearch"
End If
Else
DoCmd.Close
DoCmd.OpenForm "FrmCustSearch"
End If
display msgbox. It works fine with just one text box, but I can’t seem to
understand how to look at three text fields. What’s the proper way to use
multiple fields?
If IsNull([Text65] Or [Text67] Or [Text69]) Then
intSave = MsgBox("Are you sure you want to go to a new customer without
inputing a Action?", vbYesNo + vbQuestion + vbDefaultButton2, "Save
Confirmation")
If intSave = vbYes Then
DoCmd.Close
DoCmd.OpenForm "FrmCustSearch"
End If
Else
DoCmd.Close
DoCmd.OpenForm "FrmCustSearch"
End If