Fields in a form matching to a table

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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,
 
Back
Top