Fields in a form matching to a table

G

Guest

I have a form that we use for time sheet entry. We also have a table set up with all the employees names and numbers. On the form we have a spot that both need to be entered. Is there a way that I can link the two fields together so that if you enter the wrong name to the number it won't let you continue. I already have it set up with the table that you can only enter a number or name from the table. Please help I'm sooo confused
 
E

Eric Cárdenas [MSFT]

I have a form that we use for time sheet entry. We also
have a table set up with all the employees names and numbers.
On the form we have a spot that both need to be entered. Is
there a way that I can link the two fields together so that if
you enter the wrong name to the number it won't let you continue.
I already have it set up with the table that you can only enter
a number or name from the table. Please help I'm sooo confused
--------------------
If you have less than a thousand employees, it might be easier if you
designed a combo box to select a valid employee from your employee table.

If you have more, you may have to write some VBA code to validate user
input in a textbox. Combo boxes don't scale very well so test the
performance of your combo box before deciding to write some code.

Hope this helps,
 

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

Top