H
HOB32
I would like to implement a BeforeUpdate Event in a field called "job".
When you open up the form for the Jobs, you see the last job entered.
People are typing over the last entry when they are trying to either search
for another job/or enter in a new job. There is a button for adding a new
job, but some people do not seem to remember that it exists.
What I want to do is this:
I want a way to protect the number from being mistakenly edited. I am not
sure if I would need to use the AfterUpdate Event or the BeforeUpdate Event.
I think the easiest thing to do (if it is possible) is to let them change the
complete number (example 2408.02) & when they click on the next box, a
message box appears asking them if they are sure that they want to change the
job number. If they click yes, the event stops and they go from there. If
they click “cancelâ€, the job number reverts to the old number (OldValue).
Then the event stops.
I think you can do this in Visual Basic. I am sure that this can be done,
but I do not understand the syntax of the commands in order to implement it.
Thanks in advance!
When you open up the form for the Jobs, you see the last job entered.
People are typing over the last entry when they are trying to either search
for another job/or enter in a new job. There is a button for adding a new
job, but some people do not seem to remember that it exists.
What I want to do is this:
I want a way to protect the number from being mistakenly edited. I am not
sure if I would need to use the AfterUpdate Event or the BeforeUpdate Event.
I think the easiest thing to do (if it is possible) is to let them change the
complete number (example 2408.02) & when they click on the next box, a
message box appears asking them if they are sure that they want to change the
job number. If they click yes, the event stops and they go from there. If
they click “cancelâ€, the job number reverts to the old number (OldValue).
Then the event stops.
I think you can do this in Visual Basic. I am sure that this can be done,
but I do not understand the syntax of the commands in order to implement it.
Thanks in advance!