I have a form that uses data from a personnel list. If a person's name isn't in the personnel table, you can't use them.
What I want is:
If the person isn't on the list, a message box pop up to say "they're not on the list; check your spelling or add them to the list". One button says "Add personnel", One button says "cancel".
When they click "Add personnel" a 2nd form linked to the personnel table opens for them to add the individual. (The reason is that on Form 01 only the name is shown; in the Personnel table we record other data as well).
I have managed to get the message box
; I have managed to get it to open the 2nd form. But I haven't managed to get it to give the user the OPTION of opening that form or not.
Ideas?
Oh - and after my message box there's ANOTHER default message about the data not being in the list. Can I turn that off 'cause its rather redundant and confusing.
What I want is:
If the person isn't on the list, a message box pop up to say "they're not on the list; check your spelling or add them to the list". One button says "Add personnel", One button says "cancel".
When they click "Add personnel" a 2nd form linked to the personnel table opens for them to add the individual. (The reason is that on Form 01 only the name is shown; in the Personnel table we record other data as well).
I have managed to get the message box

Ideas?
Oh - and after my message box there's ANOTHER default message about the data not being in the list. Can I turn that off 'cause its rather redundant and confusing.