K
Kathy R.
I have a form/subform where I need to have the event and date entered on
the main form before information can be entered into the subform.
How do I get a custom message box to pop up instead of the generic "You
must enter a value in the ... field" when the event and date have not
been entered?
I think that the order I want to do things in is the following. Help
with the actual VBA would be very much appreciated.
- What event to use?
- check to see if AtEventID is null - do I need this step? Because both
the date and event fields are required, Access automatically pops up the
generic message box.
- if not okay, enter info
- if null then message box
Thank you!
Kathy R.
the main form before information can be entered into the subform.
How do I get a custom message box to pop up instead of the generic "You
must enter a value in the ... field" when the event and date have not
been entered?
I think that the order I want to do things in is the following. Help
with the actual VBA would be very much appreciated.
- What event to use?
- check to see if AtEventID is null - do I need this step? Because both
the date and event fields are required, Access automatically pops up the
generic message box.
- if not okay, enter info
- if null then message box
Thank you!
Kathy R.