cancel
Showing results for 
Search instead for 
Did you mean: 

Break the page

Former Member
0 Kudos

Hi All,

I had a requirement tht data frm the table which is flowed should display in alternative pages.Could any one help me in this regard.

Thanks In Advance

Best regards

Rakesh.

Accepted Solutions (0)

Answers (1)

Answers (1)

i042339
Product and Topic Expert
Product and Topic Expert
0 Kudos

Can you please explain this little more in detail?

If my understanding is correct suppose no of rows increases in a table you want to extend this to next page automatically. If this is your requirement you can do that very easily. Let me know your requiremnets

Cheers

Satya

Former Member
0 Kudos

HI,

The data should flow in alternative pages(i.e pdf preview should look like -after page1 blank in next page and data should be continued in page3 and blank in next page and continued in page5......)

Thanks for replying

Best Regards

Rakesh

Former Member
0 Kudos

Hi Rakesh,

Below solution is an alternative , if you dont find any solution you can try it.Please make a backup before making the below changes.

You have to use subforms to build the table.

Suppose table had 5 fields.Place a subform as below in Table-> Data subform

|-----blank_subform

|-----Field1

|-----Field2

|-----Field3

|-----Field4

|-----Field5

In the layout, place the subform in the 1st row and

place 5 fields in the 2nd row .

set the height of the subform is equal to the height of the content area in master page and make hidden in object properties.

Write the the below script on the blank subform in layout:ready event

Var curpage = $layout.page ( ref ( $ ) )

Var value1 = 0

Var value 2 = curpage / 2

if value1 == value2 then

$.presence = "visible"

endif

Please check the syntax.

Thanks and Regards,

Pavan Meda