Roger's Access Library Homepage
Forum Home Forum Home>Roger's Access Library>Roger's Download Samples
  New Posts New Posts RSS Feed: CascadingComboBoxes.mdb (beginner)
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

CascadingComboBoxes.mdb (beginner)

 Post Reply Post Reply
Author
Message / View First Unread Post
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Online Status: Offline
Posts: 218
Post Options Post Options   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: CascadingComboBoxes.mdb (beginner)
    Posted: 04 Aug 2008 at 7:13am

This form illustrates how to restrict the value of one combo box based on the value of another. In this case, you choose the city, and you get a listing of just the zip codes available for that city.

It also shows how to get the asterisk (*) to show up in the RecordSource for the city, so you can choose all cities. When you choose the asterisk to list all zipcodes and then choose a zip, the corresponding City appears in the city control.

Download
Access 97 (42 KB):
CascadingComboBoxes97.zip
Access 2000 (95 KB): CascadingComboBoxes2k.zip

Please consider donating $1 per sample downloaded, find out why here.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down