Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: General VBA/VB6 : Zip Codes
Description: Lookup City and State values from a zip code lookup table using DAO and ADO

Class: CZipCode_DAO

Class that uses a zip code table to lookup a zip code's corresponding City and State.

FMS, in conjunction with the USPS, offers a monthly subscription to current US zip codes. See http://www.fmsinc.com/MicrosoftAccess/ZipCodeDatabase.html for details.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the CZipCode_DAO class
Class_Initialize Initialize Initalize files for zip code lookup by opening database directly to enable SEEK command
Class_Terminate Terminate Close variables
GetCityState Method Lookup City and State based on zip code
GetLinkedPath Private Retrieve the linked path of a table in the current database
VerifyCityZip Method Verify the zip code, city, and state match

Overview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence