‎2014 Feb 23 12:18 PM
Hi,
I have a smartform where the main table may go to page 2. If it overflows, page 2 should only have the main table with the footer to the main table in the page 2 only (and not after the main table in page 1). if the data doesnt overflow the footer to the main table should be printed in page 1 only.
I also need to print terms and condition in the last page always i, e page 2 if data doesnt overflow or page 3 if data overflows.
how should I proceed for this?
Regards,
Tina
‎2014 Feb 23 1:05 PM
Hi Tina,
1) create 2 pages: DATA with a Main Window, and CONDITIONS with a Secondary Window;
2) set the Next Page to itself for DATA and empty for CONDITIONS
3) place the Table in the Main Window; mark the Footer Print Time check-box for 'at End of Table' only:
3) Insert a Command in Main Window after the Table; enable 'Go to New Page' check-box and choose CONDITIONS Page
If the layout of Page 2 should differ from the Page 1, simply create two DATA Pages, which both have the Main Window (position and height of Main Window on the pages may differ, but not the width). Set the next page for DATA1 to DATA2, set the next page for DATA2 to itself...
Cheers,
Janis
‎2014 Feb 23 2:01 PM
Hi,
The problem is because the main table footer has different design than the page it couldnt be designed in the footer section of the main table. there are three different windows for the footer. two of them has template and one has a table..
Regards,
Tina
‎2014 Feb 23 2:24 PM
Ops, I'm a bit lost now There are three different Footers, all of them for the table..? Or are there two Page Footers and one Table Footer?
Cheers,
Janis
‎2014 Feb 23 2:53 PM
Its like 3 footers for the main table itself and each has diff design.
please help
‎2014 Feb 23 3:54 PM
I'd place a Folder with a Footer right after the table in the Main window then, with Print time 'at End of Table':
Unlike Table Footer, within Folder Footer you should be able to include both Templates and the Table, and control the selection the right footer Element within Conditions of elements.
Hope this fits what you have
cheers,
Janis
‎2014 Feb 27 3:14 PM
‎2014 Feb 27 3:20 PM
Ohk sorry got that thanks a lot for the help...
now can you please help me in another problem?
In the invoice that I have created the header has page no and reprint option. the requirement is that reprint wont be printed if its value is 0. so I have given a condition in the condition tab of the node where the reprint is being printed as GV_REPRINT not equal to INITIAL.
But this works for some and doent work for others.
Please help
regards,
Tina
‎2014 Feb 27 9:32 PM
Hi,
That's weird... what's the data type of GV_REPRINT? It should work it the type is numeric (not if it is character). Maybe include the GV_REPRINT variable somewhere in the reprint element for testing so you see what value it has when the unwanted reprint occurs
cheers,
Janis
‎2014 Mar 02 9:54 AM
It worked taking 0 instead of initial
thanks for all the help
regards,
Tina