It sounds like you might be trying to do this directly in the tables.
Don't!
Access uses tables to store data, and forms (and reports) to display it.
Use a form and a combo box for the zip code.
Regards
Jeff Boyce
Microsoft Office/Access MVP
Hello there,
Thanks for the advice. I keep seeing combo boxes mentioned, but don't
know of them personally, so I'm looking over the relavent training page on
the Office site. My initial reaction, though, seems to think that this would
be good on a 'from now on' circumstance, but what do I do with the customer
entries that are already present? Is there any way to get the region code for
those, short of manually looking them up?
> It sounds like you might be trying to do this directly in the tables.
> Don't!
[quoted text clipped - 6 lines]
> Jeff Boyce
> Microsoft Office/Access MVP
John Vinson - 20 Jun 2006 22:18 GMT
>Hello there,
> Thanks for the advice. I keep seeing combo boxes mentioned, but don't
[quoted text clipped - 3 lines]
>entries that are already present? Is there any way to get the region code for
>those, short of manually looking them up?
You don't need to start from scratch.
Your TableA should NOT have a Region Code field. It's redundant, since
the region code is stored in the zipcode table.
Create a new Query joining TableA to TableB by Zip code.
Pull all the fields you want to see from TableA, and the region code
corresponding to the record's zip code from TableB.
This Query can now be used as the basis for a form, a report, or
whatever you wish. It's not necessary to store the region in two
different places!
John W. Vinson[MVP]
JadewindFalcon - 21 Jun 2006 14:56 GMT
Thank you! That worked wonderfully; it's nice to see that folks are willing
and able to help the total rookies with stuff like this. :)
> You don't need to start from scratch.
>
[quoted text clipped - 11 lines]
>
> John W. Vinson[MVP]