Table to form

  • Thread starter Thread starter rob peterson
  • Start date Start date
R

rob peterson

I have a field in a table called ID. 4 posititions.

I have a field in a subform where I want to enter an ID. If the ID is not in
the table, I want to know. How can I connect them?

By the way, if it is not in the table, I would want a message to pop up or
the ability to add to the table on the fly.

Thanks.
 
I have a field in a table called ID. 4 posititions.

What do you mean by "positions"??
I have a field in a subform where I want to enter an ID. If the ID is not in
the table, I want to know. How can I connect them?

Why not simply put a Combo Box based on the table to select only the valid
ID's, so the user can *SELECT* a valid ID rather than making them type one and
slapping their hand if they guess wrong?
By the way, if it is not in the table, I would want a message to pop up or
the ability to add to the table on the fly.

You can use the "Not In List" event of the Combo Box to add a value to the
table of valid ID's.

John W. Vinson [MVP]
 

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

Back
Top