cancel
Showing results for 
Search instead for 
Did you mean: 

smartform truncated

Former Member
0 Kudos

Hello,

I'm printing a smartform with a long static text, the issue is that the system truncate the text when it reaches the end of the first page, and doesn't generate a second page to continue the impression.

Could you please help on this?

KR

Karim

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186052
Active Participant
0 Kudos

Hi,

If the window which is holding the text element is of type secondary window then it will not overflow. only main window will over flow.

Hope this helps.

Regards,

-Sandeep

Former Member
0 Kudos

Thank you, I created a new page to have the full text. Now the issue is :

my smartform contains 4 pages, and I don't want the 3rd and 4th ones to be edited when some conditions are true, is it possible?

Thanks

Karim

Former Member
0 Kudos

Hi Karim,

Your 3rd and 4th pages display static text right? and what do you mean by 4th and 5th page should not be edited?

Can you please explain so that I might be able to help you.

Thanks,

Archana

Former Member
0 Kudos

No, the 3rd and 4th pages contain static text and some variables, but I don't want them to be created in some cases (if the employee doesn't meet some conditions)

Former Member
0 Kudos

Hi,

In that case, you can maintain your conditions in page number 3 and 4, whien you displying the static text.

I think, you must be displaying your static text using text module or SO10 text.

In that conditions tab of that text, you can maintain your required criteria.

So, that page will not be displayed when the given coditions/criteria is not met.

Thanks,

Archana

former_member186052
Active Participant
0 Kudos

Hi,

You can place your conditions in the Conditions tab of the text elements which contain static text or variables.

When ever that conditions fail to satisfy then your data wont be displayed on the page.

Hope this helps.

Regards,

-Sandeep

Former Member
0 Kudos

I maintained the condition on all text elements of the page but the page is displayed(white page)

former_member186052
Active Participant
0 Kudos

Hi,

I have no idea if we can restrict even that as well.

But can you please clarify if the pages 2,3 and 4 have same page structure?

Regards,

-Sandeep

Edited by: sandeep2719 on Dec 6, 2011 9:54 PM

Former Member
0 Kudos

Hi Karim,

You must have created 2 pages. In the first page, you must have given nextpage as your second page, in the general attributes.

In the second page, I suppose you are providing nextpage as your third page, which is a static page. Here, in the second page, provide nextpage as same 2nd page.

And, in the main window of second page, create program lines after the main table loop. Put your code for the condions to display pages 3 and 4.

Then, create a command below that and in general attributes, provide 3rd page name as 'Go to new page'. And in conditions tab, put the conditions in which case, you need to display 3rd and 4th page.

This will resolve your issue of displaying blank page as well as conditional display of 3rd and 4th pages.

Thanks,

Archana

Former Member
0 Kudos

Hi Karim,

Since your 3rd and 4th page will be displayed only based on few conditions., Make the next page of 2nd page as 2nd page itself instead of giving the next page as 3rd. This will help you stop from navigating to the 3rd page from 2nd page by default.

Now in the 2nd page main window create a Command line which will take the control to the next page and maintain condition for this command line, and the condition will be as per your requirement and give next page of 3rd page as 4th page.

By following this you can make sure only 2 pages will print when your condition is not satisfied.

Hope this helps!

Regards,

Praveenkumar T.

Edited by: Praveenkumar . T on Dec 7, 2011 2:24 PM

Former Member
0 Kudos

Thanks for your replies but :

I can not set a command in the second page(commands must be used in a MAIN window). and I can't change the second page window to main window as there is already a main window in the first page

Former Member
0 Kudos

Hi Karim,

You can create it in page 1, main window. Then, it will be created automatically in page 2 main window as well.

Thanks,

Archana