‎2006 Feb 03 3:10 PM
Hi,
I have <b>three pages</b>(that is equal to <b>one report</b>) in my smartform.
While iam executing , iam able to see only the first page.
How can i see following pages?I have copied Main window to 2nd & 3rd pages.
reward guaranteed
cheers
kaki
‎2006 Feb 03 3:59 PM
Hi Kaki,
Dear Kaki,
1. In the general attribute of the page their is option of next page fill that with the your second page.Second page will automatically shown after the first page.
2. If you want the third page to be triggered , the you have a command option wher you give the command as end of main window and at the slot you enter the page you want to be triggered you enter third page in that slot.
So second page will continue after the first page and end the end of main window third page will definatley gett triggered.
Hope this helps,Do reward points for useful answers.
Regards,
Suresh.
‎2006 Feb 03 3:18 PM
Hi Kaki,
In the PAGE attributes..there is a some thing called next page...so for the first page give the name of second page & for the 2nd page give the name of the 3rd page.
‎2006 Feb 03 3:20 PM
Hi Kaki,
Please check the following :
A) At page General attributes have you defined Next page.
b) Do you want any condition to trigger next page. thne you have to define a Comman in main window and define your next page.
Lanka
‎2006 Feb 03 3:59 PM
Hi Kaki,
Dear Kaki,
1. In the general attribute of the page their is option of next page fill that with the your second page.Second page will automatically shown after the first page.
2. If you want the third page to be triggered , the you have a command option wher you give the command as end of main window and at the slot you enter the page you want to be triggered you enter third page in that slot.
So second page will continue after the first page and end the end of main window third page will definatley gett triggered.
Hope this helps,Do reward points for useful answers.
Regards,
Suresh.
‎2006 Feb 04 1:07 AM
Hi All,
1.In the first page attributes i have set as second page.
and in the second page attributes i have set as third page. It is not working.
2.If i use COMMAND option and if i set as second page in the first page, it is reflecting to 3rd page also.(It is reflecting to all pages since i have copied main window to all the pages).Actually no relation between first page content,second page content & third page content.
How can i display all 3 pages? Pls help.
kaki
‎2006 Feb 04 1:18 AM
Hi Kaki,
Please check whether you first page MAIN window data is suffivient enogh to flow to second and third page.
IF your main window in first page is suffient enough to print in page1 then page 2 and page3 will not print.
Lanka
Message was edited by: Lanka Murthy
‎2006 Feb 04 1:30 AM
Hi murthy,
Actually my requirement is i need to develop one report with three pages.Content is different from page to page.
So no need to think about sufficient space in the first page or second page.
My report structure is like this.
<b>FIRSTPAGE</b>
--MAINWINDOW
----TEXT1
--SUBWINDOW
----TEXT1
----TEXT2
<b>SECONDPAGE</b>
--MAINWINDOW
----TEXT1
--SUBWINDOW
----TEXT1
----TEXT2
<b>THIRDPAGE</b>
--MAINWINDOW
----TEXT1
--SUBWINDOW
----TEXT1
----TEXT2
Now i need to display all three pages.
Can you give me your email id.So that i can send some screen shots.....
thanks
kaki
‎2006 Feb 04 2:08 AM
Hi Kaki,
Do the following . Please set a command as mentioned.
On PAGE1 in MAIN window:
Set Command : Go to next page --> PAGE2
Condition :SFSY-PAGE NAME = 'PAGE1'.
on PAGE 2 in MAIN WINDOW :
Set Command : Go to next page --> PAGE3
Condition :SFSY-PAGE NAME = 'PAGE2'.
Try this and I hope this will work for you.
You can find my e-mail at myaddress folder. Send me your code in XML.
Lanka
‎2006 Feb 08 1:29 AM
‎2006 Feb 08 1:59 AM
Actually the rule in Smartforms is: same window name, same contents, which means that if you have the same main window on all 3 pages it will have identical contents. You could make certain of your texts in the main window conditional on the page number as well as using a command node to designate an explicit call to a page.
Otherwise, your pages could be using "secondary" windows, to generate different texts and contents on the different page types. (First, Next, and Last)
One should also understand that the pages are logical pages. If you had an overflow of text on a main window on page3 for example, you could actually have page3 replicating a number of times(if its next page attribute was itself, page3). It sounds like your pages behave like: FIRST, NEXT, and LAST and have different components in them. Which means they should have different (non-main) windows.
Again, remember: same name of window = identical contents regardless of what page it is associated with.
Marilyn