I understand how to count items and rows, but i need some advise on how to
count the number of footers in a report.
I have Detail that creates a various amount of entries.
i have a Footer that sum's the individual detail.
I have a Report Footer that sums all the detail.
what i want a count entry for is the number of Footers.
Any ideas
Duane Hookom - 06 Dec 2005 14:14 GMT
Add a text box in your group footer:
Name: txtCountGroup
Control Source: =1
Running Sum: Over All
Visible: No
Add a text box to your Report Footer:
Control Source: =txtCountGroup

Signature
Duane Hookom
MS Access MVP
--
>I understand how to count items and rows, but i need some advise on how to
> count the number of footers in a report.
[quoted text clipped - 3 lines]
> what i want a count entry for is the number of Footers.
> Any ideas
Allen Browne - 06 Dec 2005 14:14 GMT
Add a text box to your Group Footer section, and give it these properties:
Control Source =1
Running Sum Over All
Format General Number
Name txtGroupCount
Visible False
Now add a text box to the Report Footer where you want to show the number of
group footers, and set its Control Source to:
=[txtGroupCount]

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
>I understand how to count items and rows, but i need some advise on how to
> count the number of footers in a report.
[quoted text clipped - 3 lines]
> what i want a count entry for is the number of Footers.
> Any ideas
ld-runner - 06 Dec 2005 15:03 GMT
ahhh, perfect, thank you very much.
> Add a text box to your Group Footer section, and give it these properties:
> Control Source =1
[quoted text clipped - 14 lines]
> > what i want a count entry for is the number of Footers.
> > Any ideas
John Spencer - 06 Dec 2005 14:16 GMT
UNTESTED- Going from memory.
Add a control to your summary footer.
Name to the control CountFooterLines
Set its control source to =1
Set its sum to overall
Set its visible property to False
In the Report footer
Add a control
Set its control source to = CountFooterLines
>I understand how to count items and rows, but i need some advise on how to
> count the number of footers in a report.
[quoted text clipped - 3 lines]
> what i want a count entry for is the number of Footers.
> Any ideas