Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with header table in smartforms

Former Member
0 Kudos

Hello,

I have a problem with smartforms :

I would like to display a table with variable size.

If there is enought space to display it on first page, header display it correctly. But if there is not enought space to display table on first page, the header is displayed twice. Once on the first page and on the second page.

Could you help me to display header only on the second page in case of table is too long to be displayed on the first page.

Thanks.

Sample :

case 1 : short table, one page

-


others content page 1----


-


-


HEADER----


-


TABLE----


-


-


case 2 : big table, 2 pages as exemple

-


others content page 1----


-


-


HEADER----


EMPTY SPACE

start of page2

-


HEADER----


-


TABLE----


-


-


1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

I think it may not be possible while you are printing data inside a table. If it is a text nade then you can check the "Page Protection" check box in the output options.

9 REPLIES 9

Former Member
0 Kudos

Depending on what system you are on, you can look at the output tab of your table and see if you can check the page protection checkbox.

0 Kudos

I use ECC5 system and i can't check this option.

Thanks for your help.

Former Member
0 Kudos

Hi,

I think it may not be possible while you are printing data inside a table. If it is a text nade then you can check the "Page Protection" check box in the output options.

0 Kudos

Ok so you think it's not possible... I thinking so but i was not sure.

0 Kudos

You can do it .... create a folder and move the line type into that foler so that all the fields of the line will be under the folder. Now, I think you can apply PAGE PROTECTION at the FOLDER level.

Regards,

Ravi

Former Member
0 Kudos

Try this,

in the HEADER node, select the CONDITIONS Tab, and check the checkbox "NOT ON FIRST PAGE ".

Regards,

Srikanth.

0 Kudos

No, it's not correct because if table is short, it displayed on first page, and in this case, you have to display header.

The problem is that if there is not enought space, table display it on the second page (it's normal) but header line display twice.

0 Kudos

In the events tab of your table, try unchecking the 'at page break' checkbox.

No, nevermind

Message was edited by: Matt Nagel

Former Member
0 Kudos

Hi , what you have to do is:

First create a text node and fill it with the header information.

Now you can calculate the Total number of pages that are going to outputting.

Now you can output the header information using a condition.

If it is working , please let me know.