DAO Primer On Accessing A Table

Category:
Database
Type:
Modules
Difficulty:
Beginning
Author:
Steve Bazinet

Version Compatibility: Visual Basic 6

More information:
This is a DAO demo for beginners. The best way to use it is to 1) add the module to a project along with a form, 2) set the form as the start-up object, 3) add a reference to DAO 3.5 or 3.51, 4) call the subs subTraverseTable and subUpdateTable, and 5) continually press the F8 key to step through the code line by line. Between the thorough comments and the code demonstrations, you will learn a lot about accessing tables via DAO in a short period of time.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download daodemo.zip