Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Suppress Page Numbers in Sub Report Post Reply Post New Topic
Author Message
byrkar
Newbie
Newbie


Joined: 22 Jan 2008
Online Status: Offline
Posts: 7
Quote byrkar Replybullet Topic: Suppress Page Numbers in Sub Report
     Posted: 29 Jan 2008 at 5:00am

CR9

How do I suppress the page numbers from a sub report which is located in the report footer of the main report? 
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 29 Jan 2008 at 5:45am
Hi,
 
Select the subreport right click select edit subreport then
 
delete the page number special field from your subreport .
 
or
 
edit subreport right click the Special Field select format field then in common tab select suppress.
 
 
cheers
rahul
IP IP Logged
byrkar
Newbie
Newbie


Joined: 22 Jan 2008
Online Status: Offline
Posts: 7
Quote byrkar Replybullet Posted: 29 Jan 2008 at 9:01am
The page number field isn't on the sub report - it's on the main report
IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 29 Jan 2008 at 10:09am

u can change the font color of the page number same as the background color. Of course this is not the right  solution but u can do it for the time being.

Thanks
Savan
IP IP Logged
byrkar
Newbie
Newbie


Joined: 22 Jan 2008
Online Status: Offline
Posts: 7
Quote byrkar Replybullet Posted: 29 Jan 2008 at 2:37pm
That would be great, but the same problem - how do I know it's the subreport?
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 31 Jan 2008 at 7:07am
Create a global variable.  Set it to 0 in the report header.  Set it to 1 in the report footer, just before your subreport.  Set the condition on suppressing the page number to suppress when the variable is 1.  If something appears on the report after the subreport, set the variable back to 0.


IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum