I have a table containing several foreign keys from other linked tables. In particular I have a list of countries and their corresponding number that has been assigned to them. I want to set a the "number" field to be a picklist in the datasheet view where the user can click the dropbox arrow and pick which number they want to enter for their new record. I already know how to show two columns of information (I.E. Number and Name) in the dropbox, however, I also have the "country" field right next to the "number" field in my new table andI want the country name to appear in the next column of the datasheet when the corresponding country number is chosen in the first column.
FYI - The Number and Country fields are foreign keys from the same table. The Number field is also part of a concatenated primary key in my new table. However, the other part of this concatenated primary key in the new table will not need to automatically changed if the number field is changed in the new table. I only want the country name field to change to reflect the country number field that was selected.
Is there any way to do this in the design view of my new table, or do I need some VBA code? Any help would be much appreciated!
FYI - The Number and Country fields are foreign keys from the same table. The Number field is also part of a concatenated primary key in my new table. However, the other part of this concatenated primary key in the new table will not need to automatically changed if the number field is changed in the new table. I only want the country name field to change to reflect the country number field that was selected.
Is there any way to do this in the design view of my new table, or do I need some VBA code? Any help would be much appreciated!