A
Aderham
I've been away from Access for awhile and can't remember how to do this.
The report has a control that calculates the index value of a Detail
Section response % compared to a control in the Report Footer. There
are group footers that also calculate an index comparing the overall
response of the group to the response contained in the control in the
footer
Detail Line: Response 1.10% Index 110
Detail Line: Response 1.00% Index 100
Group Footer: Group Response 1.05% Index 105
Detail Line: Response 1.10% Index 110
Detail Line: Response 1.20% Index 120
Group Footer: Group Response 1.15% Index 115
Report Footer: Report Response: 1.00% Index 100
Calculation for detail row index: =Abs(Round(([Resp]-[GTResp])/[GTResp]+1,2))
Calculation for group level index:
=Abs(Round(([PartResp]-[GTResp])/[GTResp]+1,2))
I want to sort the report by the calculated Index values in the Group
Footer. The name of the text box in the footer is PerfIndex
Therefore the simple reference would be =[PerfIndex] in the group entry of
the sort/group window.
I can't remenber the right object reference format to use as an
expression in the grouping window so that the report will sort on that
value. I've tried reports![samplereport].[PerfIndex] and other varients
but no success. Do I need to specify the group containing the control?
Any help on proper reference syntax would be appreciated.
I've also tried putting the calculated control in the detail record and I
stil can not reference it. The problem is the control references values that
are created in the report such as grand totals and therefore the data for the
calculation is not in the query.
The idea is to sort detail lines by a calculated index value within the
group and then sort groups by its calculated index.
Ideas? Thanks in advance for replies.
Abbott
The report has a control that calculates the index value of a Detail
Section response % compared to a control in the Report Footer. There
are group footers that also calculate an index comparing the overall
response of the group to the response contained in the control in the
footer
Detail Line: Response 1.10% Index 110
Detail Line: Response 1.00% Index 100
Group Footer: Group Response 1.05% Index 105
Detail Line: Response 1.10% Index 110
Detail Line: Response 1.20% Index 120
Group Footer: Group Response 1.15% Index 115
Report Footer: Report Response: 1.00% Index 100
Calculation for detail row index: =Abs(Round(([Resp]-[GTResp])/[GTResp]+1,2))
Calculation for group level index:
=Abs(Round(([PartResp]-[GTResp])/[GTResp]+1,2))
I want to sort the report by the calculated Index values in the Group
Footer. The name of the text box in the footer is PerfIndex
Therefore the simple reference would be =[PerfIndex] in the group entry of
the sort/group window.
I can't remenber the right object reference format to use as an
expression in the grouping window so that the report will sort on that
value. I've tried reports![samplereport].[PerfIndex] and other varients
but no success. Do I need to specify the group containing the control?
Any help on proper reference syntax would be appreciated.
I've also tried putting the calculated control in the detail record and I
stil can not reference it. The problem is the control references values that
are created in the report such as grand totals and therefore the data for the
calculation is not in the query.
The idea is to sort detail lines by a calculated index value within the
group and then sort groups by its calculated index.
Ideas? Thanks in advance for replies.
Abbott