There are 2 ways to achieve this.
The first and easiest is to prompt the user by using the Parameters within the actual Query. Open up your query and click on Query and then on Parameters. Input your criteria with the Data Type.
The 2nd is to make a custom dialog box that prompts the user for information, usually based upon unbound text boxes that would normally hold a From Date and To Date amongst other information. The user would then enter in the information and in the criteria for your query, you would specify the field names in the dialog box. Your query would return the records pertaining to the information requested by the user.
The 2nd way is by far the better way, as you can customize the form, asking for multiple information, complete with look-ups/combo boxes, whereas with using the parameters contained within the actual query you are limited by the standard message prompt.
If you need more help, then post again. A search on this forum under Custom Dialog Box would probably yeild some good information.