Create a group Header on the field you want to count once only. You can set
the section's Visible property to No so it does not print. In these section,
place a text box with these properties:
Control Source =1
Running Sum Over All
Format General Number
Name txtCountRS
Now in the Report Footer, place a text box and set its Control Source to:
=[txtCountRS]
This works because the first text box has the value 1 every time it occurs,
and collects a running sum. Summing 1 every occurance is the same as getting
a count of occurrances.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
Alylia said:
I would like help on counting of unique records on a report. If there are
multiple occurences of any record in a particular field, it must only be
counted once.
Thx