A
Aaron
How would I get the drop-down to display the recognizable Name and input the
corresponding Key?
I've got a couple of tables, one for expenses, and one for payee
information. Rent Check -> Condo Asso. So I've got a one to many
relationship setup, where one or more expenses link to a single payee.
In the expense table, I have the foreign ID field linked to the primary key
in the payee table. Good so far.
The problem:
I’d like to make PayeeID field a drop-down box with a list of the payee’s
from the payee table. Which I can with the PayeeID data type => List Box and
Row Source Type => Table/Query. The problem seems to be with the Row Source.
I can make it list, in the Payee Table, either the Primary Key (a list of
numbers I don’t recognize) or the PayeeName (words that make sense). Having
it list words that make sense, is the only way to go, but when I select
“Condo†for example, it tries to put the text “Condo†in the field, not the
Primary Key, so I get the error “The value you entered isn’t valid for this
field†– “For example, you may have entered text in a numeric field or a
number that is larger than the FieldSize setting permits.â€
How would I get the drop-down to display the recognizable Name and input the
corresponding Key?
corresponding Key?
I've got a couple of tables, one for expenses, and one for payee
information. Rent Check -> Condo Asso. So I've got a one to many
relationship setup, where one or more expenses link to a single payee.
In the expense table, I have the foreign ID field linked to the primary key
in the payee table. Good so far.
The problem:
I’d like to make PayeeID field a drop-down box with a list of the payee’s
from the payee table. Which I can with the PayeeID data type => List Box and
Row Source Type => Table/Query. The problem seems to be with the Row Source.
I can make it list, in the Payee Table, either the Primary Key (a list of
numbers I don’t recognize) or the PayeeName (words that make sense). Having
it list words that make sense, is the only way to go, but when I select
“Condo†for example, it tries to put the text “Condo†in the field, not the
Primary Key, so I get the error “The value you entered isn’t valid for this
field†– “For example, you may have entered text in a numeric field or a
number that is larger than the FieldSize setting permits.â€
How would I get the drop-down to display the recognizable Name and input the
corresponding Key?