You can help users search for
records by adding a combo box to their forms. And, with Access 2002 or Access
2003’s Combo Box wizard, you do not have to know how to program to do it.
For example, suppose your users need to search for records on the Employee Data Form by last name. Follow these steps to create a combo box that
will do just that:
- Open your
Employee Data Form in Design view. - Click the Combo
Box button in the Toolbox. (In Access 2002, make sure the Control Wizards
button is activated first.) -
Click and drag to
create the combo box within your form. - Select the option, Find A Record On My Form Based On The Value I Selected In My Combo Box and click Next.
- Click Next.
- Select First Name
and Last Name from the available fields. Click Next. -
Adjust field width
as necessary and click Next twice. - Enter Find Record
and click Finish. - Right-click the
combo box and select Properties. - Under Data, click
the Row Source Builder button. - Under Last Name,
click the Sort cell and choose Ascending. - Close the Query
window and click Yes. - Save the form
changes.
When users open the form, users
can click the drop-down arrow of the combo box and scroll down to select an
employee name. Access then finds and displays the record for the selected
employee.
Miss a tip?
Check out the Microsoft Access archive, and catch up on our most recent Access tips.
Help users increase productivity by automatically signing up for TechRepublic’s free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.