Page 1 of 2

Continuing Group Header

Posted: Fri Jul 13, 2007 6:18 am
by satisht
If same group header is on next page then I need to show that group header on next page
How should I implement this in my report?

Continuing Group Header

Posted: Fri Jul 13, 2007 7:07 am
by Edward
If I understand you correctly, you have 2 GroupHeaderBands one underneath the other on the same page.
GroupHeaderBand1.StartNewPage = true
GroupHeaderBand2.StartNewPage = true

You need achieve the following:
GroupHeaderBand1 is printed on page1
GroupHeaderBand2 is printed on page2

Is it your aim?

Continuing Group Header

Posted: Sun Jul 15, 2007 11:22 pm
by satisht
Sorry I could not explain you correctly, I mean If my data is continuing on next page then I need to show same group header on next page also if the data is continued on next page ? How should I do this ? If start new page property is true then every new group is starting from new page I dont want that.

Continuing Group Header

Posted: Mon Jul 16, 2007 12:55 am
by Edward
For this case it is enough to set GroupHeader.PrintOnAllPages property in true.

Thank you.

Continuing Group Header

Posted: Mon Jul 16, 2007 1:55 am
by satisht
Thanx it works

Continuing Group Header

Posted: Mon Jul 16, 2007 2:01 am
by Edward
Let us know if you need any help.

Thank you.

Continuing Group Header

Posted: Wed Jul 18, 2007 6:34 am
by satisht
IF the group Header is continued on next page then should we add "Continued" in that header means

If Group Header on 1'st Page is
Header 1

Group Header on 2'nd page is
Header 1 continued

Continuing Group Header

Posted: Thu Jul 19, 2007 1:30 am
by Edward
satisht wrote:IF the group Header is continued on next page then should we add "Continued" in that header means

If Group Header on 1'st Page is
Header 1

Group Header on 2'nd page is
Header 1 continued
Yes, it is possible.

Please do the following steps:
1. Place StiText component on GroupHeaderBand with Enabled = false and desired text inside, e.g. Text1.
2. In the BeforePrint event of the DataBand please set the following script:

Code: Select all

Text1.Enabled = True
3. In the GroupFooterBand which is related to this GroupHeader band you should disable Text1 again:

Code: Select all

Text1.Enabled = False
Thank you.

Continuing Group Header

Posted: Thu Jul 19, 2007 3:24 am
by satisht
I am not having group footer and how should i write before print event?

Continuing Group Header

Posted: Thu Jul 19, 2007 3:25 am
by satisht
I am not having group footer and how should i write before print event?