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

>
Want a good read? Try The Summer of His Life (available on Amazon!)

ComboChoosesRecord.mdb (beginner)

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


Joined: 20 Feb 2008
Status: Offline
Points: 261
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.

ComboChoosesRecord.mdb

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.
 
Download

Access 2010-2019 accdb: ComboChoosesRecord_2010.zip
Access 2000 (53 KB): ComboChoosesRecord2k.zip
Access 97 (66 KB): ComboChoosesRecord97.zip

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links
>
Want a good read? Try The Summer of His Life (available on Amazon!)

Back to Top
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Posted: 17 Mar 2020 at 7:27pm
Access 2010-2019 accdb: ComboChoosesRecord_2010.zip
Consider donating $1 per sample downloaded, find out why here.<
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.