Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access dropdown boxes

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access Drop-down boxes

Access Drop-down boxes

ResolvedVersion 2003

David has attended:
Access Introduction course

Access Drop-down boxes

Pete,
Some idea of where to start with having several drop-down boxes in forms, which can control what options come up in the next drop-down box would be great.
Thanks,

RE: Access Drop-down boxes

Hello David,

Hope you enjoyed your Microsoft Access course with BEST STL Training.
Thank you for your question regarding Drop-down boxes .

What you are referring to is a standard technique called cascading or synchronized comboboxes. Its a standard technique that is illustrated in the sample databases.

First you have to base your pull down list on a query, then add the column for the filtering combo to that query and use criteria of:

=Forms![Formname]![comboboxname]

In the Format tab of the comob you can set the column widths so the country column doesn't show in the pull down.

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post.
Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Richard
Microsoft Office Specialist Trainer

Access tip:

Create a custom Close button on a Form

By default, Forms that you create in Access have a full set of control buttons, that is, a title bar with Minimize, Maximize and Close buttons in the top right-hand corner and a Control Menu in the top left-hand corner.



Sometimes Access needs to follow certain procedures or events as users close a Form (such as automatically opening another Form perhaps). So it is often a good habit to create a custom Close button on a Form for everyone to use, rather than the standard closing cross.



To create a custom Close button:

1) In Form Design View, draw a Command Button onto the Form.

2) Use the Command Button Wizard to select Form Operations under Categories, and Close Form under Actions.

3) Choose Finish.



Access then creates the button and code to close the form for you. You can add any extra code that needs to run as the Form closes to the same Close procedure.



However, the creation of a custom Close button is pointless if the closing X in the top right-hand corner of the Form remains active. To make the closing X inactive, open the Form Properties box then on the Format tab set the Close Button setting to No. This will grey out the closing X leaving it visible, but inactive.



View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.