Trap Form opening in acFormAdd mode?

  • Thread starter Thread starter Alan Fisher
  • Start date Start date
A

Alan Fisher

I would like to run some code in the On Load event only if
the form was open with the acFormAdd qualifyer. How do I
test for that once the form is open. Thanks for any help.
 
Alan Fisher said:
I would like to run some code in the On Load event only if
the form was open with the acFormAdd qualifyer. How do I
test for that once the form is open. Thanks for any help.

If Me.DataEntry Then
MsgBox "This form was opened for data entry only!"
End If
 
Back
Top