B
BrookieOU
OK, I know lookup fields are bad at the table level. And, I am trying to do
everything correct.
So I have an "Employees" table that lists standard stuff (name, address,
client they work for, group they belong to). I also have a table for
"Client" and another one for "Group". In the table I set it up to have the
ClientID and the GroupID be the foreign keys in the "Employees" table. Now,
for a data entry form I am trying to make the ClientID and GroupID fields be
combo boxes where they are allowed to choose what client and what group they
work for. I do not want the combo box to list the autonumber ID I am using
for those fields but rather the actual client or group name. Whenever I try
to do that I am getting an error that says I am trying to save something that
is not a number in a number field (cause they are autonumber).
How do I write the look-up so that it will store the ID's but show the
actual names in the combo box? Also, if what I wrote isn't too
convoluted...am I doing it correctly?
Thanks!
everything correct.
So I have an "Employees" table that lists standard stuff (name, address,
client they work for, group they belong to). I also have a table for
"Client" and another one for "Group". In the table I set it up to have the
ClientID and the GroupID be the foreign keys in the "Employees" table. Now,
for a data entry form I am trying to make the ClientID and GroupID fields be
combo boxes where they are allowed to choose what client and what group they
work for. I do not want the combo box to list the autonumber ID I am using
for those fields but rather the actual client or group name. Whenever I try
to do that I am getting an error that says I am trying to save something that
is not a number in a number field (cause they are autonumber).
How do I write the look-up so that it will store the ID's but show the
actual names in the combo box? Also, if what I wrote isn't too
convoluted...am I doing it correctly?
Thanks!