trap look up error

G

Guest

I have a movie database in Access 2003
The Actor field is linked to a look up table
If I try to enter a name that's not in the table, I get an error(of course).
I want to be able to trap the error and offer a dialog box to prompt the
user to add the new actor name to the Actor table.
 
G

Guest

You might want to try using a combo box rather than a text box for this. For
one, using a text box, you could easily misspell the actor's name. With a
combo box, you can format the display the way you want it, and can use the
NotInList event to trap a name that gets typed that is not in the list. With
this, you can ask the user whether they want to add the name to the list,
send them to a new form to enter pertinent data, and then send them back to
the original form.

Dale
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top