on 10-07-2008 5:06 PM
Hi experts,
I'm new to smartforms. I have created a smartform with a table loop in the main window.
Is it possible to create a page break after printing 6 lines in the table? How?
Thx.
In the Loop, put a program lines to keep the count of the rows.
After the Line type which prints the data, create a page-break node. And in the condition tab fo the node, put the condition like:
W_COUNT = 6.
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, I did what you told me.
But the counting isn't working.
You said I should place the code in the loop. I don't know if I did that right.
I did a right click on the table and created a program line like you said: w_count = w_count + 1.
The code is placed automatically under the footer of the table.
Now when I put a break-point after the line of code, I can see it stops there once and w_count becomes 1, but after that I get the output, so it only counts 1 time, and never gets to 6.
What am I doing wrong?
Thx.
I can't seem to get it to work.
Here's a link with a picture of how it looks. I can't seem to place the loop before the footer. I can place it between main and table, but then it doesn't count either.[pic|http://img72.imageshack.us/my.php?image=bouclezk8.jpg]
Edited by: christophe latinne on Oct 7, 2008 7:09 PM
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.