on 07-07-2008 3:14 PM
Hi,
How to restrict the no. of records to be displayed on a page in a Smartform?
For eg. Only 10 records are to be displayed on the first page. Once it goes to 11th record it should get displayed in the next page.
create a counter and increment it at each loop pass
You can write this increment variable code in a program lines(create->flowlogic->program lines) inside the loop.
Also inside the loop and command(create->flowlogic->command) for a new page break with the condition(last tab) incremnet_variable = 11
reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
For that you can do like this:
1 - create a counter (i.e. variable type i, that must be initializes in the begining).
2 - into your table/loop in MAIN window, in the begining of line, create a logic, adding one to this variable
3 - create a condition inside the table, like IF counter EQ 11, insert a command page break.
Post here if you have doubts about any of this points.
Regards.
Valter Oliveira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.