From Date x to Date y (Query table data)



I am wondering if it is possible to use a query to pull data from a table,
but only for a specific time frame. The query we are creating will pull data
from the table to sum up several fields (the data is based on employees, and
we are querying to get totals for the supervisor). The table has a date
entered next to each entry. I am wondering if there is a way to put something
in the query that will make a popup window ask for a beginning date and
ending date, and then pull only the records in the table that show a date in
that range. This way, you could use the same exact query (or a report based
on it) to see different time frames, instead of having to create several
tables, and several queries for all the different time frames.

Also, is it possible to have the query give you options, such as choosing
month to date (it will pull up all info from that month so far), previous
month (all info from the past month), year to date (all info from that year
so far), and the ability to enter your own range, as I described above. Can
this be done? Any help you can give me would be greatly appreciated.

--
Have a nice day!

~Paul
Express Scripts,
Charting the future of pharmacy

~~~~~~
| |
|c--OD
| _)
| |
|-. |
/ `-# /A
/ /_|..`#.J/
||LJ `m''
ptaylor

.



Relevant Pages

  • Re: Create a Form Letter?
    ... There is a form letter feature in the Query By Form applet at ... In your 'report' or 'letter' you'd simply pull data from the ... >> What I have is an Employer table. ...
    (microsoft.public.access.gettingstarted)
  • RE: Report Source
    ... You could have a report and subreport combination which would pull data from ... union query out of them as the source for the report. ...
    (microsoft.public.access.gettingstarted)
  • RE: Eloquent Programming
    ... Presuming that all users are in one database, each ... hidden text box on the form and use the hidden text box in the query. ... I have one form/query for each department (24 forms/queries ... > like to know how to do is this, pull data from a specific query for this one ...
    (microsoft.public.access.modulesdaovba)
  • Re: From Date x to Date y (Query table data)
    ... > Criteria of the date field in the query, ... The query we are creating will pull data ... and several queries for all the different time frames. ...
    (microsoft.public.access.queries)
  • Re: Queries
    ... I want the report to display all ... If I use a parameter query, ... >> pull data for 4 different quarters throughout the ...
    (microsoft.public.access.gettingstarted)