Romio_1968
Member
- Local time
- Tomorrow, 01:33
- Joined
- Jan 11, 2023
- Messages
- 126
Hello
I have two tables:
One (Books) containg the fields BookID, Title, Domain. ClassCode.
The second (Domains) contais the fields ClassID, ClassCode, Domain
The two tables are in a one-to-many relationship, so I can use multiple Titles for the same ClassCode.
I have a form to add data in the Books table.
I have a Combo Box to select the Domain, via a select query from the Domains table.
I want the ClassCode from table Books to be filled with the correspondent ClassCode from the Domain table, based on the value selected in the Combobox.
The select query used to populate the combo has two colums (Domain and ClassCode), sorted by Domain.
Thank you
I have two tables:
One (Books) containg the fields BookID, Title, Domain. ClassCode.
The second (Domains) contais the fields ClassID, ClassCode, Domain
The two tables are in a one-to-many relationship, so I can use multiple Titles for the same ClassCode.
I have a form to add data in the Books table.
I have a Combo Box to select the Domain, via a select query from the Domains table.
I want the ClassCode from table Books to be filled with the correspondent ClassCode from the Domain table, based on the value selected in the Combobox.
The select query used to populate the combo has two colums (Domain and ClassCode), sorted by Domain.
Thank you