function that passes the values
Hi,
Can anyone please help me with creating a function that passes the value.
Two Access tables:
Table1 has two fields, Country and Id. And it only has two records in it, let say under Country we have US and Canada, and under Id we have 1 and 2 accordingly.
Table2 also has two fields, States and Id. and it has 64 records in it, let say under States we have all the name of the states in US and canada, and under id we have 1s and 2s.
now on form load, comb1 gets populated fron table1. What i would like to be able to do is to get cmb2 populate the name of the states that bases on the country that I've pick from cmb1.
In other words is. we need to pass the values of the id of the country that we have pick from cmb1. And use that to populate appropriate states to cmb2.
Thank you in advance