Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Main Table in smartform

Former Member
0 Likes
1,756

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

9 REPLIES 9
Read only

Private_Member_7726
Active Contributor
0 Likes
1,723

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

Read only

Former Member
0 Likes
1,723

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

Read only

0 Likes
1,723

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

Read only

Former Member
0 Likes
1,723

Its like 3 footers for the main table itself and each has diff design.

please help

Read only

0 Likes
1,723

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

Read only

0 Likes
1,723

How to make a folder with a footer in it?

Read only

0 Likes
1,723

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

Read only

0 Likes
1,723

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

Read only

Former Member
0 Likes
1,723

It worked taking 0 instead of initial

thanks for all the help

regards,

Tina