B
Brian
I am building a database and would like to use a country-number as a primary
key to identify different matters. I'm not sure how to go about it, though.
I need to be able to have duplicates on the "number" part, since the same
number could be used for a different country. Further complicating matters,
though, is that I want the database to autonumber based upon which country is
selected.
For instance, if the last country-number assigned to the United States was
U.S.-100, I want it to autofill 101 when U.S. is selected. Likewise, if the
last country-number assigned to Mexico was Mexico-50, I want it to autonumber
with 51 when Mexico is selected, even though the number 51 may have been used
for another country.
Any help would be appreciated.
key to identify different matters. I'm not sure how to go about it, though.
I need to be able to have duplicates on the "number" part, since the same
number could be used for a different country. Further complicating matters,
though, is that I want the database to autonumber based upon which country is
selected.
For instance, if the last country-number assigned to the United States was
U.S.-100, I want it to autofill 101 when U.S. is selected. Likewise, if the
last country-number assigned to Mexico was Mexico-50, I want it to autonumber
with 51 when Mexico is selected, even though the number 51 may have been used
for another country.
Any help would be appreciated.