Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / January 2004

Tip: Looking for answers? Try searching our database.

Zip Code Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jwcrosby - 29 Jan 2004 18:30 GMT
I know the routine for entering a zip and having it "find"
the appropriate city and state from a separate table.  
That's the easy part.

But how do you handle the fact that some zip codes are
assigned to more than one city?  For instance, Amherst,
Pelham, Cushman and South Amherst, Mass. all have the same
zip code (i.e., 01002).

So, if I'm entering a person's data and plug in "01002"
for his zip code, but it finds the wrong city, what are my
options?

Suggestions?
Adrian Jansen - 29 Jan 2004 22:36 GMT
Make a query 'on the fly' filtered on the zip code you selected, then use it
as the recordsource for a combo or list box.  The user then sees just the
few cities that match, and is prompted to select the correct one.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
> I know the routine for entering a zip and having it "find"
> the appropriate city and state from a separate table.
[quoted text clipped - 10 lines]
>
> Suggestions?
Armen Stein - 30 Jan 2004 05:31 GMT
> Make a query 'on the fly' filtered on the zip code you selected, then use it
> as the recordsource for a combo or list box.  The user then sees just the
[quoted text clipped - 20 lines]
> >
> > Suggestions?

And to save them time, you can default in the City if only one matches,
as most will.  Just make them choose one if more than one city matches.

Signature

Armen Stein
J Street Technology, Inc.
Armen _@_ JStreetTech _._ com

Adrian Jansen - 31 Jan 2004 03:38 GMT
Good point Armen.

--
Regards,

Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
> > Make a query 'on the fly' filtered on the zip code you selected, then use it
> > as the recordsource for a combo or list box.  The user then sees just the
[quoted text clipped - 28 lines]
> J Street Technology, Inc.
> Armen _@_ JStreetTech _._ com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.