Application Development 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: 

Do not print second page in smartform

Former Member
0 Kudos

Hi All,

I have a requirement to stop printing second page in a smartform at certain condition.

There are two pages in a smartform.Each page use to print two different tables.

First page is used to print Table1 contents. Table2 is printed on second page if it is not empty.

If Table2 is empty then only first page should print and do not not print the second page.

I created one main window in first page and one Secondary window in second page.

In first page I put a condition to call second page.

This works fine if Table2 is empty but when I want to print second page it does not print all table content of second page in next page ( i.e. third page & more), as second page window is secondary window hence it does not carry forward the table contents to next page.

Is there any way we can avoid printing second page if Table2 is empty and print Second page if Table2 is not empty.

Regards,

Amit

1 REPLY 1

Former Member
0 Kudos

Hi Amit,

Please try the following in your smartform:

1. Remove the Main window from Second Page.

2. Put the required text in secondary Window.

3. Put First Page's NEXT Page as First Page itself.

4. Keep in place the logic of Command Node to trigger Next Page.

Hope this solves.

Regards,

Junior Vieira