Skip to Content
Former Member
Jul 06, 2011 at 06:59 PM

Using function TotalPageCount as a condition


I make a report (CR IX RII), without subreport, as a mail merge; each of them has an address. A few forms have too many records for one page, so they need two sides.

I want to filter the addresses and then print two jobs separately, which have only one page and those with more pages.

The page number has been reset on each new address, which is a group.

When I use the function TotalPageCount as a condition, I always get the message u201CThis function cannot be used because it must be evaluated lateru201D.

When I try to suppress all sections (header, groups_h, details, groups_f, footer) with u201CTotalPageCount = 1u201D, CR returns just a blank page.