Hi,
I need some VBA to perform a simple task. I am novice and would like to ask if some kind soul would write the code for me in order that I can learn by looking at it.
I have 3 tables:
1) Companies
2) Countries
3) Combinations
The Combinations table is a joining table and its soul purpose is to hold relationships between Companies and Countries.
For the time being a Company will only ever be related to ONE country and vice-versa.
I have a ComboBox on a form showing the list of Companies.
The database has several reports (one for each country).
When the user selects a Company from the ComboBox I need the VBA to determine to which Country the Company is related in order that I can call the correct report.
Please can I have help on how to do this?
Thank you.
I need some VBA to perform a simple task. I am novice and would like to ask if some kind soul would write the code for me in order that I can learn by looking at it.
I have 3 tables:
1) Companies
2) Countries
3) Combinations
The Combinations table is a joining table and its soul purpose is to hold relationships between Companies and Countries.
For the time being a Company will only ever be related to ONE country and vice-versa.
I have a ComboBox on a form showing the list of Companies.
The database has several reports (one for each country).
When the user selects a Company from the ComboBox I need the VBA to determine to which Country the Company is related in order that I can call the correct report.
Please can I have help on how to do this?
Thank you.