cancel
Showing results for 
Search instead for 
Did you mean: 

N-up datawindow, where I need to do a page break per person

Former Member
0 Kudos

I have a datawindow, where they wanted multiple attendance dates to show across in a row

as opposed to 1 date per row

But... we run this datawindow for multiple people.

Normally, we wouldn't clear the datawindow... use a return 2 on the retrieve start

But, if I don't do a reset on the datawindow...and print each separately

it just dumps all the attendance dates in 1 page

I guess I would need to do page breaks per person... but, n-up won't allow me to do that

the datawindow reset is taking a long time, as it goes thru each person... and prints the datawindow

Any suggestions?

basically.... the datawindow is a an Attendance letter

with some text at the top and bottom... and the attendance dates in between

and I need 1 letter per person

John Doe

      1/1/2015     1/2/2015     1/3/2015

      1/4/2015

thank you.... yada yada

next page

John Smith

      1/1/2015    1/2/2015

thanks you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Scott;

  Have you thought about creating a Tabular DataWindow with a Group Break on person ... then add the N-Up DWO into the group band as a child DW  - thus creating a NESTED DW pair to address your design goals?

Regards ... Chris

Former Member
0 Kudos

I'll give it a shot

thanks

Former Member
0 Kudos

If you do this, you'll have to make sure the N-Up rows have a fixed height.

There's a problem in all versions of PB where an embedded N-Up with Autoheight fields and detail will only return the height of the LAST detail row to the container object. If row in detail #1 of the N-UP is 200 high, but row N is only 100 high, the container object gets sized to 100, and cuts off anything from the other rows.

http://www.pchotshots.com/bmettee/nup-demo.zip contains a PBL to demonstrate. (I've been trying to get this fixed for years)

Former Member
0 Kudos

Hi Brad;

  What version of PB is your PBL code written in?

Regards ... Chris

Former Member
0 Kudos

It was originally written in 10.2. What's in the zip is 12.5.

I've tested the concept on versions 5.5, 8, 10.2, and 12.5. It fails on all of them. Haven't tried 12.6 yet.