G
Guest
Here's the situation. I have a form called Companies. It has a subform
called Contacts subform. It has a field called Title. This field is a limit
to list, lookup combo box with the data coming from a table called Titles and
has say 3 records: Manager, Superintendent, Foreman.
Here's what I want to do. Whe the user is inputting data and they get to
the Title field in the Contacts subform, let's say they want to type in
"Assistant Manager". Because it's not on the list it won't allow it. That's
OK. What I want to happen though, is a message to appear that asks the user
if they want to add this to the list. If they say yes, then I want the
Titles form to open up and allow the new record to be added. Once it has
been added, it needs to be available in the Contacts subform Title field drop
down list without having to close the main form and reopen it.
I hope I have explained myself clearly. Can anyone tell me step by step how
to create a macro/event to make this happen?
I appreciate any and all help you can give me.
Thanks in advance.
called Contacts subform. It has a field called Title. This field is a limit
to list, lookup combo box with the data coming from a table called Titles and
has say 3 records: Manager, Superintendent, Foreman.
Here's what I want to do. Whe the user is inputting data and they get to
the Title field in the Contacts subform, let's say they want to type in
"Assistant Manager". Because it's not on the list it won't allow it. That's
OK. What I want to happen though, is a message to appear that asks the user
if they want to add this to the list. If they say yes, then I want the
Titles form to open up and allow the new record to be added. Once it has
been added, it needs to be available in the Contacts subform Title field drop
down list without having to close the main form and reopen it.
I hope I have explained myself clearly. Can anyone tell me step by step how
to create a macro/event to make this happen?
I appreciate any and all help you can give me.
Thanks in advance.