cancel
Showing results for 
Search instead for 
Did you mean: 

command issue in smartform main window table footer

Former Member
0 Kudos

Hello Experts ,

I got an issue , that really puzzled me ! hope you could help .

In my smart form main window I have a loop node inside loop node is a table , and there is a footer in this table node.

in footer event , I only set check box 'at page Break' , and in footer , I created a command to goto another page, but when I preview the layout , there comes an error : 'Page break is allowed only in the main window' . I didn't create any command outside the mainwindow.

anyone know how this happened ? how should I correct it ?

or you can tell me antother method to goto a new page when page break .

Thank you in advance!

Kevin

Edited by: kevin wang on Mar 13, 2010 12:46 PM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

solved

prakashjasti
Contributor
0 Kudos

Make ur main window as a secondary window and see.

Regards,

Prakash.

Former Member
0 Kudos

Hi ,

Put your command node at the end of all nodes in the main window & try it

When your putting the command node in the footer it will trigger the next but data will be skipped

Let me know if any concerns ....

prakashjasti
Contributor
0 Kudos

Hi Kevin,

Here the problem is you have created some other windows below the main window.

Make the main window as the secondary window then your problem will be solved.

Dont Delete any of ur data while doing take a back up before doing it.

Regards,

Prakash.

Former Member
0 Kudos

Hi,

The problem may due to not Selecting at the "End of Table" in the footer node.

My Assumption: According to my understanding since you have selected with at "Page break" only, this night be triggering at every page break and since you have mentioned Goto Next page using command node without printing on the current page.

You can try by selecting the "At the End of Table" for Footer node, then it should work correctly.

If you want a Page break after the Footer, then place it after Footer Node, then it should work.

Thanks & Regards,

Vamsi.

Edited by: Vamsi Krishna on Mar 13, 2010 1:42 PM

Former Member
0 Kudos

Hello Vamsi ,

Thank you for you answer.

I tried to check both of the check boxes on, but still I got the same error.

It seems that I am not allowed to set 'at Page break' and use COMMAND in footer at the same time which is very strange to me.

hope you could give some clue.

Thanks you again!

Kevin.