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

Report Writer - How do you print a header on each new page? 1

Status
Not open for further replies.

rleiman

Programmer
May 3, 2006
258
US
Hi Everyone.

Can you tell me how to print a header every time a new page is printed? Currently it only prints it when there is a control break.

Thanks.

Emad
 
Hi Emad,

Do you mean a GROUP Header? If so, there is NO way to get the Group Header to print on every page because it is NOT possible to accurately determine when a page is over in Clarion. One of the biggest disadvantages in the Clarion Report Engine. If you are using fixed height detail bands you can calculate on your own in a Local variable and guess. The better way is to have a STRING control in the PAGE Header which is populated with a CLIP(GroupHeaderDescription) & ' - Continued ...'. Store the Group Break Column and check before printing the detail band :

IF LOC:GroupColumn <> FIL:GroupColumn
Report$?GroupContHeader{prop:text} = CLIP(GroupHeaderDescription) & ' - Continued ...'

LOC:GroupColumn = FIL:GroupColumn
END

Regards
 
Hi ShankarJ,

The code concept looks good but I am not sure on how to do embed points in the Report Writer application like you can do in the IDE report formatter.

Thanks.

Truly,

Emad
 
Hi Emad,

As usual, I looked at Report and excluded the writer from my vision. :-(

I do not use Report writer but I just checked the properties of the Group header band and there is NO setting to ask it to repeat on eveny page. All you can do is ask for a Page Break on the Group Footer so that the next Group Header is on a new page.

Regards
 
Hi ShankarJ,

Thanks for the reply.

I will try it.

Truly,
Emad
 
Hi ShankarJ,

I was able to get results that were acceptable by playing around with the "With Prior" property. I stuck the number 100 in there and it looks ok.

Thanks.

Truly,
Emad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top