Skip to Content
author's profile photo Former Member
Former Member

new page in depend on entry smartform

Hi,

I have developed a smartform and in that a table is there I am printing some entries based on hierarchy and now my issue is TEAM LEADER is there below i am printing all the members under the team lead in that way n number of team leads and members.

1)if 1st team lead has 2 members and 2 team lead has 2 members both has to print in same page.this is done

2) now if 1st team lead has 3 entries and 2 team lead has 20 entries then I has to print the first team lead and members in first page and 2nd team lead entries has to print in 2nd page.(not done). how can i count remaining how many entries that a page can hold after filling the 1st team lead entries.

how can i achieve 2nd point.

Thanks,

Vijay.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 12, 2016 at 05:18 AM

    Fix number of rows/lines in main window.

    Say you fixed for 25 lines.

    Count number of 1st Team Lead entries.

    Count 2nd Team lead entries.

    If both entries becomes more than 25 then use command to achieve page break and print the 2nd team lead entries in next page.

    -Satya

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.