I do not see why a change from every tenth record to every fifth record would
require adding fields to the table.
Post your report query. OPen in design view, click on SQL View, highlighjt
all, copy, and paste in a post.
--
KARL DEWEY
Build a little - Test a little
- Show quoted text -
I was successful in getting the the report that returns every fifth
record!
My problem now is how to get the report that returns every tenth
record to utilize Begin and End Dates (in this case,
txtStartSumRptEvery10th and txtStopSumRptEvery10th) to return every
tenth record within a specific period of time.
For example, suppose I want the report to return every 10th record
between 09/04/2007 and 10/04/2007.
Here is the report query. However, there are 4 queries that contribute
to creating this report:
SELECT Sum(Abs([MinOfAgencyContactYes])) AS AgencyContactYes, Sum(Abs
([MinOfAgencyContactNo])) AS AgencyContactNo, Sum(Abs
([MinOfDaysBeforeHeardFromAgency1Week])) AS
DaysBeforeHeardFromAgency1Week, Sum(Abs
([MinOfDaysBeforeHeardFromAgency2Weeks])) AS
DaysBeforeHeardFromAgency2Weeks, Sum(Abs
([MinOfDaysBeforeHeardFromAgency3orMoreWeeks])) AS
DaysBeforeHeardFromAgency3orMoreWeeks, Sum(Abs
([MinOfBecomeIBCCPClientYes])) AS BecomeIBCCPClientYes, Sum(Abs
([MinOfBecomeIBCCPClientNo])) AS BecomeIBCCPClientNo, Sum(Abs
([MinOfBecomeIBCCPClientDontKnow])) AS BecomeIBCCPClientDontKnow, Sum
(Abs([MinOfSatisfiedWithHelpReceivedYes])) AS
SatisfiedWithHelpReceivedYes, Sum(Abs
([MinOfSatisfiedWithHelpReceivedNo])) AS SatisfiedWithHelpReceivedNo,
Sum(Abs([MinOfInNeedFurtherAssistanceYes])) AS
InNeedFurtherAssistanceYes, Sum(Abs([MinOfInNeedFurtherAssistanceNo]))
AS InNeedFurtherAssistanceNo, Sum(Abs([MinOfAgencyContactYes]))+Sum(Abs
([MinOfAgencyContactNo])) AS AgencyContactTL, Sum(Abs
([MinOfDaysBeforeHeardFromAgency1Week]))+Sum(Abs
([MinOfDaysBeforeHeardFromAgency2Weeks]))+Sum(Abs
([MinOfDaysBeforeHeardFromAgency3orMoreWeeks])) AS
DaysBeforeHeardFromAgencyTL, Sum(Abs([MinOfBecomeIBCCPClientYes]))+Sum
(Abs([MinOfBecomeIBCCPClientNo]))+Sum(Abs
([MinOfBecomeIBCCPClientDontKnow])) AS BecomeIBCCPClientTL, Sum(Abs
([MinOfSatisfiedWithHelpReceivedYes]))+Sum(Abs
([MinOfSatisfiedWithHelpReceivedNo])) AS SatisfiedWithHelpReceivedTL,
Sum(Abs([MinOfInNeedFurtherAssistanceYes]))+Sum(Abs
([MinOfInNeedFurtherAssistanceNo])) AS InNeedFurtherAssistanceTL,
([AgencyContactYes])/([AgencyContactTL]) AS PrcntAgencyContactYes,
[AgencyContactNo]/[AgencyContactTL] AS PrcntAgencyContactNo,
[DaysBeforeHeardFromAgency1Week]/[DaysBeforeHeardFromAgencyTL] AS
PrcntDaysBeforeHeardFromAgency1Week, [DaysBeforeHeardFromAgency2Weeks]/
[DaysBeforeHeardFromAgencyTL] AS PrcntDaysBeforeHeardFromAgency2Weeks,
[DaysBeforeHeardFromAgency3orMoreWeeks]/[DaysBeforeHeardFromAgencyTL]
AS PrcntDaysBeforeHeardFromAgency3orMoreWeeks, [BecomeIBCCPClientYes]/
[BecomeIBCCPClientTL] AS PrcntBecomeIBCCPClientYes,
[BecomeIBCCPClientNo]/[BecomeIBCCPClientTL] AS
PrcntBecomeIBCCPClientNo, [BecomeIBCCPClientDontKnow]/
[BecomeIBCCPClientTL] AS PrcntBecomeIBCCPClientDontKnow,
[SatisfiedWithHelpReceivedYes]/[SatisfiedWithHelpReceivedTL] AS
PrcntSatisfiedWithHelpReceivedYes, [SatisfiedWithHelpReceivedNo]/
[SatisfiedWithHelpReceivedTL] AS PrcntSatisfiedWithHelpReceivedNo,
[InNeedFurtherAssistanceYes]/[InNeedFurtherAssistanceTL] AS
PrcntInNeedFurtherAssistanceYes, [InNeedFurtherAssistanceNo]/
[InNeedFurtherAssistanceTL] AS PrcntInNeedFurtherAssistanceNo, (Sum(Abs
([SumOfCountOfCaller ID]))) AS TLQACallsMade10th, Sum(Abs
([MinOfQualityAssurance])) AS TLQACallersResponded10th
FROM qrySummaryReportResponsesTEST
WITH OWNERACCESS OPTION;
Thanks,
John