on 06-11-2007 12:03 PM
Hi,
I need to print different records in different pages based on certain conditions. I've entered the conditions in the appropriate command lines node. But I need to know what the exact line to add/call a new page is. Can somebody out there help me?
hi,
In the internal table create one more field name flag.
loop at <table>.
at new <document no>.
table-flag = 1.
modify table transporting flag.
endat.
endloop.
The below loop is to avoid the first page blank.
loop at <table>.
table-flag = 0.
exit.
endloop.
i think you display the document no in the main window
In the smart forms create one command in the main window.
in that command go to general attributes tab and tick go to new page and in the text box give the page you want to display.
after that go to condition tab give field name as table-flag and comparison value equal to 1.
it will work.
regards
arul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Declare a Command and put the condition
set the page to trigger
you can set this inside the table option of the form
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
u want a page break u will have to <b>use a command node inside the loop</b>...
u will have to set flag when u r condition is satisisfied, and in commad node condition u will have to put this flag = 'X'....
hope this will work...but it is <b>necessary to put the command node inside loop command...</b>
regards,
Ashokreddy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Poornima,
Hi prashant,
since u want a page break u will have to use a command node inside the loop...
just put the conditions when u want a page break on the command node...
hope this will work...but it is necessary to put the command node inside loop command...
please reward points in case usefull....
regards,
prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.