|
|
 |
| found 69158 articles for 1.393 sec |
  |
| What is txtZip_Code ? It is not defined in your code.
Can you not simply do a DlookUp as below ?
State = Nz(DLookup("[State]","[tblZIP_CODES]","Left([ZIP_Code],5) = '" &
Left(Zip_Code,5) & "'"),"State not found")
City = Nz(DLookup("[City]","[tblZIP_CODES]","Left([ZIP_Code],5) = '" &
Left(Zip_Code,5) & "'"),"City not found")
"Bill" wrote:
> I'm trying to do a zip code look up where |
|
 |
|
 |
Group: microsoft.public.access.modulesdaovba · Group Profile · Search for zip code look up in microsoft.public.access.modulesdaovba
Author: Bill
Date: Jun 17, 2008 09:37
Is that not working? It appears that it should work. Are you getting any errors? John Spencer Access MVP 2002-2005, 2007-2008 Center for Health Program Development and Management University of Maryland Baltimore County Bill wrote: I'm trying to do a zip code look up where the user enters a zip code then the city and state is populated base on a table. My table is called ZIP_CODES
|
| Show full article (1.30Kb) · Show article thread |
|
 |
|
1 ·
2 ·
3 ·
4 ·
5 ·
6 ·
7 ·
8 ·
9 ·
next |
|
|