Hi, all you Access experts out there.
I have a database titled AdjMailRequests. The database has as its primary data component a table titled tblAdjMailRequests. The table now has several thousand records. One of the fields in the table is Area, which has 8 possible values, and which could potentially include more than 8 values. I would like to be able to search the table based on the value in the Area field, and retrieve all the records from the table where the value in the Area field equals a specified value.
I have a query titled qryRequestBusinessArea. The query returns all the fields from the table, and has [Business Area] as the criterion in the Area field of the query Design View.
There is a form titled frmBusinessAreaSearch, which has as its record source qryRequestBusinessArea.
There is a button labeled "Business Area Search Form." The button's On Click event calls the form frmBusinessAreaSearch. When the button is clicked, an Enter Parameter Value dialog box is displayed with the caption "Business Area." One of the 8 possible values from the Area field is manually entered in the input area of the dialog box as the parameter. When the dialog box's OK button is clicked, frmBusinessAreaSearch opens, and displays a split form with all of the retrieved records shown in the bottom datasheet portion of the split form.
There is a table containing all the possible values in the Area field. This table is titled tblBusinessAreas, and its records are retrieved with the query qryBusinessAreas.
Is there a way to make the button display a combo box with a drop-down menu of all the 8 possible values from the Area field, select one of those values from the combo box, and then pass the selected value to the called form as the parameter?
The database is attached.
Thank you very much.
Government Operations Specialist