Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 09, 2009 at 07:14 AM

    Hi Virylab

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

    Regards

    Vikas C

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 09, 2009 at 09:04 AM

    Hi Viray ,

    Try using protect and endprotect .

    Much Regards ,

    Amuktha .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 09, 2009 at 11:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded