cancel
Showing results for 
Search instead for 
Did you mean: 

how to display data for each date ona new page?

Former Member
0 Kudos

hi all,

i have an internal table which i have to display in my adobe form..

data for each date should be displayed ona new page...

i know that this can be achieved through edit conditional break..

can you please tell me what will be my condition in this case..ie how will i write the script in this case...??

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think there are 2 methods.

1. without scripting.

Keep the height of DATA subform >50 % of page height and unchek the allow page break check box for DATA subform.

2. with scripting.

Select Goto Next contentarea for DATA subform.

Code below javascript on DATA subform.

this.resolveNode("break").after = ""

Former Member
0 Kudos

hi pavan,

let me explain my requirement more clearly...say i have 15 records in my internal table...

say four records have the same date say 2.10.07..

next 6 records have the date 3.10.2007

and the remaining five records have date say 4.10.07..

dateis a field in that internal table ...

ok so i want 3 pages to be trigerred ..

first page containing 4 records having date 2.10.07

2nd page containing 6 records having date 3.10.07

3nd page containing 5 records having date 4.10.07

please suggest how to achieve this with scripting using edit conditional breaks....

Former Member
0 Kudos

I think you have to define conditional break on Table subform.

DATA[n].datae <> DATA[n-1].data