Question : How to prompt user for criteria before query runs in Access 2007


One of my clients has his secretary work with an Access 2007 database to create billing reports.  The billing report is based on a query that searches for records based on a user-entered invoice number that is currently being entered by the secretary in the design view of the query.  Switching from the different views confuses the heck out of her, and I would like to find a way to have the query prompt her for the criteria before the query is actually run.  Is that possible?

Additionally, there is a billing report based on the query that includes an automatically updated date field.  Officially, she is only supposed to do the billing on the 1st and the 15th of every month, so she has been exporting the report to Word and changing the date to one or the other as necessary.  Again, I was wondering if there is a way to have the report prompt her to enter a date that could then be dumped as she typed it into the footer of the report automatically.  Is that possible?

These are great people doing good and righteous work and anything I can do to make their life easier would be fantastic.  Thankx for all your help.

Answer : How to prompt user for criteria before query runs in Access 2007

This will generate a prompt for the date:

SELECT Table1.*
FROM Table1
WHERE (((Table1.MyDate)=[Enter Date:]));

mx
Random Solutions  
 
programming4us programming4us