S
sjg1314
I have MS Access 2000.
If I create a new record and fail to fill in a required field, Access
complains when the Form is updated. I can check for this event on a
Before Update event on the form.
If I edit an existing record, Access complains when I try to leave the
field. To avoid the message, I would have to set up a Before Update
handler for each field.
Ideally, I would rather let my users not worry about required fields
until they try to update the form. Is there any way of turning off the
field warning?
Assuming there isn't any way to turn off the warning, is there any way
to programmatically add Before Update event handlers for each type of
field in my form? OK, I actually know how to add event handlers, but
some fields will use the Before Update handler for other reasons--so
the trick is how do I chain events? To clarify, I'd like to know if
anyone has developed code that would allow me to programmatically add a
function call to an event handler such that, if the event already had
an event handler, I could call the existing event handler and the new
event handler?
How do people normally deal with the Access error messages? The
messages expose the underlying field names, which are not what I want
to present to my users.
Thanks for any help.
If I create a new record and fail to fill in a required field, Access
complains when the Form is updated. I can check for this event on a
Before Update event on the form.
If I edit an existing record, Access complains when I try to leave the
field. To avoid the message, I would have to set up a Before Update
handler for each field.
Ideally, I would rather let my users not worry about required fields
until they try to update the form. Is there any way of turning off the
field warning?
Assuming there isn't any way to turn off the warning, is there any way
to programmatically add Before Update event handlers for each type of
field in my form? OK, I actually know how to add event handlers, but
some fields will use the Before Update handler for other reasons--so
the trick is how do I chain events? To clarify, I'd like to know if
anyone has developed code that would allow me to programmatically add a
function call to an event handler such that, if the event already had
an event handler, I could call the existing event handler and the new
event handler?
How do people normally deal with the Access error messages? The
messages expose the underlying field names, which are not what I want
to present to my users.
Thanks for any help.