Access - Queries

Matt_Chelmsford

Board Regular
Joined
Jan 31, 2009
Messages
160
I have devised a table where in a particular field you have to choose the staff name. This is done by drop down menu that lookup the list of staff names on another table.

I have devised a query that that on opening, asks the user to input the staff name [which staff name].

My question is - is there a way that on opening the query I can have a drop down list when enetering the staff name? Of course I have a table that the query would point to!

Thanks for any help!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You can't have a drop down list direct in a query, what you can do is use a form and add a combo box that will give you a list of your staff from your table, then when they select from the drop down add a command button to run the query.

So your query would have its criteria point to the combobox on a form.
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top