1. John Michael Tejano
  2. PowerBuilder
  3. Monday, 9 October 2023 05:38 AM UTC

Good day!

I have this company logo in my header, I want only the logo and other header objects be displayed in the first page and not in the succeeding page. Any suggestions?

Thank you and have a great day everyone

Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Monday, 9 October 2023 06:03 AM UTC
  2. PowerBuilder
  3. # Permalink

There are multiple options how to do this.

 

You can set an expression for the visible property of the objects you want to hide:

if(page() = 1, 1, 0)

 

You can also create a datawindow with one static row that only contains what you want in the header. Such a datawindow you can use as nested datawindow in the header of your report. You have to hide it like described above.

 

Keep in mind that you also have to make the header "autosize height"!

 

A very easy way:

Create a composite datawindow. There you can place the objects for the header (or a datawindow for the header) in the detail band before the datawindow with your report data. In this case the header is only displayed on first page because it is in detail band. So you don't need to work with visible expressions and autosize height header.

 

HTH,

René

 

 

 

Comment
There are no comments made yet.
John Michael Tejano Accepted Answer Pending Moderation
  1. Monday, 9 October 2023 07:58 AM UTC
  2. PowerBuilder
  3. # 1

Thank you so much sir!

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.