T
tjabaut
Guest
I am having a lot of difficulty getting something I thought would be basic to work. I am fiarly new to database design so bare with me.
I have created a customer support database for my clientele. They are located all throughout New York State, but I also have clients in other states as well.
Since the bulk of my clients reside in NY I have created a Zip Code table with the ZipCode as the primary key. It contains the Zip, City and State.
I want to be able to go to the client info form for a new client and simply enter in the zip code and have the city and state autopopulate. I have gotten that to work; however; if the zip does not currently exist I get the following error message, "The Microsoft Jet database engine could not find a record in the table 'ZipCode' with key matching field(s) 'Zip'."
What does this mean.
I am using Access XP (2002) The tables (customer and zipcode) are linked on the zipcode as it is unique and the form is pulling data from both tables.
Any help would be appreciated. I am sure that I can write code to accomplish this; however; I would have thought the ability to add records through a Data Entry Form should be part of the basic functionality of this product.
I have created a customer support database for my clientele. They are located all throughout New York State, but I also have clients in other states as well.
Since the bulk of my clients reside in NY I have created a Zip Code table with the ZipCode as the primary key. It contains the Zip, City and State.
I want to be able to go to the client info form for a new client and simply enter in the zip code and have the city and state autopopulate. I have gotten that to work; however; if the zip does not currently exist I get the following error message, "The Microsoft Jet database engine could not find a record in the table 'ZipCode' with key matching field(s) 'Zip'."
What does this mean.
I am using Access XP (2002) The tables (customer and zipcode) are linked on the zipcode as it is unique and the form is pulling data from both tables.
Any help would be appreciated. I am sure that I can write code to accomplish this; however; I would have thought the ability to add records through a Data Entry Form should be part of the basic functionality of this product.