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

Please consider donating $1 per sample downloaded, (find out why here)

ComboChoosesRecord.mdb (beginner)

 Post Reply Post Reply
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 20 Feb 2008
Status: Offline
Points: 257
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: ComboChoosesRecord.mdb (beginner)
    Posted: 01 Aug 2008 at 7:35am

Please consider donating $1 per sample downloaded, find out why here.


This illustrates how to have a combo box in which you can choose a value and have that record appear in the form. The important code for this is in the AfterUpdate event of the cboISBN control.

The combo box wizard will do this for you automatically. In the second step, choose the third option: "Find a record on my form based on the value selected in my combo box" This must be done on a BOUND form.

Form: Books2 shows a variation to this with 2 columns in the combo.

Form: Books3 shows yet another variation which allows you to choose by either ISBN or Title and the value automatically updates the other combo.
Access 97 (66 KB):
Access 2000 (53 KB):

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down