Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DistinctCount not showing on 1st page

Status
Not open for further replies.

adoctor

Technical User
Oct 3, 2006
24
US
Hello-

This is probably a simple fix, but I'm not understanding why it's happening.

I have a simple report that contains one-to-many releationships, one Constituent to many object records. I have put a DistinctCount for Constituent ID in the footer, and it works on all pages EXCEPT the first page where it says the count is '0'.

Here's the formula that I put in the footer:
Code:
 DistinctCount ({Constituents.ConstituentID})

Can you tell me what the problem might be?

Thanks,

Angie
 
Two ways that should work:

Right click the page header and select insert secton below.

Place the formula in this new section, then right click the new section and select suppress.

This way it's been computed and the page footer will now observe it.

OR

Create a faux page footer...

Create a formula of

if {Constituents.ConstituentID} =-9999.919 then
0
else
1

Group on this and select repeat group header on each page in the Options area.

Suppress the group footer.

Place the disticnctcount formula in the group header, and then right click the group header and select section expert and turn on the print at bottom of page.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top