Use Zip Code Lookup to Populate City, State, Zip text boxes in records on sub form

I am using the instructions on the following link to populate the address text boxes (city, state, zip) in an address subform where there may be multiple address for a person.  The instructions work well for a single address but when I select the zip code it will populate the city, state, zip unbound text boxes for all of the address records for that person.  Is the a way to isolate writing to the text boxes for the particular address record?

http://support.microsoft.com/kb/322901 
MarkSnark1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I'm assuming you're using a Datasheet or Continuous Subform? If so, then Unbound boxes will always show the same data. The textboxes will have to be "bound" to a datasource.

You can, of course, build a query that displays the full Address, including City/STate/Zip, and use that query to populate your form. You can then bind those boxes to the query's fields, and you should show the correct values in the subform.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MarkSnark1Author Commented:
Thank you LSMConsulting.  I bound the city, state, zip fields to the "address" table and obtained the desired results.
0
MarkSnark1Author Commented:
Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.