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

how to limit display of line items(rows) of a table in smartforms

hi,

i want to display only three lines (rows) of the table per page in the smartform. i tried resizing the window in which the table control is placed.but some times it displays three , sometimes two lines.is there any conditions to be set?...pls advice

regards

kiran

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 13, 2005 at 05:55 AM

    Hi,

    In Global definition,

    cnt type i 0.

    Inside the table,create a program line.

    Declare the input and output parameters as cnt.

    In coding part,

    cnt = cnt + 1.

    After that create command.In that mention,cnt = 3 in condition for attribute.Check mark go to new page.

    After that create program line.Declare cnt as Input and Output paremeter.

    In coding,

    cnt = 0.

    Kindly reward points by clicking the star on the left of reply,if it helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 05:37 AM

    in the table control insert

    -> Create - > Command - > Goto New page - > specify the same page

    and in the conditions add your conditions

    before that insert one program line there count the line

    and if it reaches 3 lines then use the command

    cheers,

    sasi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      you do the following things

      1. define one count variable in the global definitions

      2. insert program line inside the table

      there you add the code like

      l_count = l_count + 1.

      l_count = l_count mod 3

      3. in the command - > conditions specify like

      l_count = 0

      cheers,

      sasi

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.