1. Sivaprakash BKR
  2. PowerBuilder
  3. Friday, 3 September 2021 08:26 AM UTC

Hello,

In PB 10.5

One of our customers, require current page number to get printed at the bottom of the every page, in the Label type datawindow.  Is it possible ?   

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 3 September 2021 13:52 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Sivaprakash;

  Absolutely no problem. Here is one way (that I use) on how you could do that ...

1) Create your mailing label DWO.

2) Create either a Composite or Nested DataWindow and add a page count to the Footer band.

3) Add the label DWO to the DWO from step#2 in the detail band.

For example ...

Composite DWO:

Runtime:

 

HTH

Regards ... Chris

Comment
  1. Sivaprakash BKR
  2. Wednesday, 8 September 2021 04:54 AM UTC
Thanks, Chris

With your idea, we could solve this issue by creating a nested report as we had to pass string array and number array as parameters.

  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 8 September 2021 13:10 PM UTC
Welcome! Yes, a Nested parent DWO would work just as well as my composite example. :-)
  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Friday, 3 September 2021 12:10 PM UTC
  2. PowerBuilder
  3. # 1

Hi.

I don't believe there is a way to achieve that using the label type datawindow. This is a special type and has no footer / header e.t.c. The only thing you can modify is the area a label occupies.

But depending on the complexity of the labels they use it may be possible to imitate the functionality using for example a tabular datawindow. Of course this requires more time than the label type datawindow and can be really complex.

Andreas.

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.