cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Table display when Page Break occurs

Former Member
0 Kudos

HI,

I am displaying 2 Tables one below the other in my SMARTFORM.

But, If my second table starts at the last line of first Page,

It is displaying only the header in that Page...and again it is displaying the data with the header in 2nd page.

But I dont want the table to be displayed in the First Page, if it starts at the last line. It should be displayed in the 2nd page.

Please let me know how can I solve this?

Thanks,

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create a COMMAND 'Go to New page' once u complete printing all the data of the 1st table. define a Flag variable (v_flag) and make the value as 'X' when the last item of the 1st table is printing.

In the COMMAND put the condition (v_flag = 'X').

By doing this, it starts a new page for printing 2nd table data...

Hope it helps!!

Rgds,

Pavan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the table heder properties yolu will find two check boxes as 1 is at page break and the other is at start of table remove check box at page break .

Thanks,

Nethaji.

Former Member
0 Kudos

Hi,

I want the 2nd table to be displayed after immediate to the 1st table only.

But, if 2nd table is going to start at the last ( as there is more data in 1st table), Then my 2ns table should start in the next page.

Beacuse, 2nd table header should not break into 2 pages...

Hope my requirement is understood....

Thanks,

Sandeep