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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to detect end of group

Status
Not open for further replies.

HulaGirl

Programmer
Apr 6, 2002
20
US
I a summary page on a group footer for each group but I don't want to print page n of m on the summary page. how do I detect end of group. thanks in advance.
 
You Can conditionally suppress the pageNofM field with the formula

PageNumber = TotalPageCount

HTH

Gary Parker
MIS Data Analyst
Manchester, England
 
You can compare the value in the Group Field value in the current record to the next record using the Next() function. However, since this is by definition a 2nd-pass function, I suspect it won't be available in a 2nd-pass expression. You may need to use a subreport approach...

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top