cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with 2 tables nodes in MAIN window in smartforms...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

I have created 2 table nodes in my MAIN window to display data coming from different internal tables.

Now, the problem is that whenever the 1st table node page breaks, the 2nd table node gets affected

and it also page breaks. What I want is that the 2nd table must finish displaying certain number of records

before the page break of the 1st table node takes effect.

For example, I want to display 10 records for both table nodes 1 and 2. So I created an event in

table node 1 that if it is 10 records or more, then it will go to the next page. So in effect, my table

2 node did not print any records at all in the 1st page and it only started printing its first record in page 2.

How do I print 10 records also in table node 2 before it page breaks?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Virylab

In event give condition that only if both table nodes contains 10 records then only go to nxt page

Regards

Vikas C

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

It's simple,

Pre- U should had declared a second page for the same window with header, main & footer.

now

First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)

or

when defing TEXT Go to PC Editor and mention all the fields Under PROTECT - ENDPROTECT.

This would solve the issue.

Thanks

Ravi

Former Member
0 Kudos

Hi Viray ,

Try using protect and endprotect .

Much Regards ,

Amuktha .