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!

Repeat the last group header in each page header

Status
Not open for further replies.

liuk

Programmer
Jan 16, 2006
54
IT
I have up to 5 nested group in my report (crystal report 9)

GROUP A
GROUP B
GROUP C
GROUP D
GROUP E
DETAILS

I want the innermost group header (GROUP E) wich contains the detail's column name to be repeated at the beginning of each page . I selected a NEW PAGE AFTER for the "Group E" footer, so i don't want to have situation like this :

a) FIRST PAGE
PAGE HEADER (detail's column name)<---
GROUP A HEADER
GROUP B HEADER
GROUP C HEADER
GROUP D HEADER
GROUP E HEADER (detail's column name) <---

b) NEW PAGE AFTER THE GROUP E
PAGE HEADER (detail's column name)<---
GROUP E HEADER (detail's column name)<---

Thanks
 
Right-click on each group and choose [Change Group Options]. Select 'Repeat Group Header On Each Page'. This is from Crystal 10, but Crystal 8.5 could also do it so your version should have the option.

You can also identify such continuations, a field like
Code:
WhilePrintingRecords;
if Inrepeatedgroupheader then
  "Continued..."
else
  ""

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top