INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

suppress printing

suppress printing

(OP)
oracle CR11

I have multiple sections in Report Header, multiple sections in Page Header and Details. There is currently no grouping. I want to print my Report Header (which may be 1 or more pages) then print the rest of the report BUT I want to suppress one section in the Page Header after it's first page. This (it's) could be page 3 - depending on how big the Report Header is. I only want to print this Page Header once.

RE: suppress printing

I didn’t test this, but try the following. Create two formulas:

//{@false} to be placed in a report header section and suppressed:
Whileprintingrecords;
Booleanvar flag := false;

//{@true} to be placed in a page header section inserted after your LAST one (you can suppress this PH section).
Whileprintingrecords;
Booleanvar flag := true;

In the section expert, select the page header section you want to suppress after its first occurrence->suppress->x+2 and enter:

Whileprintingrecords;
Booleanvar flag;
Flag = true; //note no colon

-LB

RE: suppress printing

(OP)
Worked perfectly, thanks so much!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close