Re: create a report based on 30 queries
- From: "Jeff Boyce" <nonsense@xxxxxxxxxxxx>
- Date: Wed, 29 Aug 2007 16:27:48 -0700
David
So it sounds like your "30 queries" are each returning a single value.
Another approach might be to create a report that is not bound to any query,
then use controls in the report to "get" the individual values using the
DMax(), or DMin(), or DCount() functions.
Regards
Jeff Boyce
Microsoft Office/Access MVP
<davidstevans@xxxxxxxxx> wrote in message
news:1188415709.899856.265140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Jeff Queries are like below:
SELECT Min(MailDate) FROM YourTable
What is the oldest maildate with an operator assigned to it.
SELECT Min(MailDate) FROM YourTable WHERE Operator is Not Null
What is the oldest maildate without an operator assigned to it
SELECT Max(MailDate) FROM YourTable WHERE Operator is Null
What is the oldest maildate for the current year
SELECT Min(MailDate) FROM YourTable WHERE [Year] = "07"
What is the oldest maildate for the prior years(anything that is not
SELECT Min(MailDate) FROM YourTable WHERE [Year] <> "07"
What is the oldest maildate where data in CURRENT starts with 714.
SELECT Min(MailDate) FROM YourTable WHERE [CURRENT] Like "714*"
, How many records are between 0 to 30 days with an operator.
SELECT Count(*) FROM YourTable WHERE [Days] Between 0 and 30
and
Operator is not Null
.
- Follow-Ups:
- Re: create a report based on 30 queries
- From: davidstevans
- Re: create a report based on 30 queries
- References:
- create a report based on 30 queries
- From: davidstevans
- Re: create a report based on 30 queries
- From: Jeff Boyce
- Re: create a report based on 30 queries
- From: davidstevans
- create a report based on 30 queries
- Prev by Date: Re: create a report based on 30 queries
- Next by Date: RE: Reports that compare month/year totals
- Previous by thread: Re: create a report based on 30 queries
- Next by thread: Re: create a report based on 30 queries
- Index(es):
Relevant Pages
|
|