cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS - page break generates a blank page at the end

Former Member
0 Kudos

Hi gurus,

I'm having problems with smartforms...

I made a break page (using the command node for page break) inside a LOOP, and it's working fine, but there is a problem... It's printing an extra blank page at the end, and I'm not understanding why... I need to remove that extra blank page.

I have already searched about this problem, but I didn´t find nothing that could help me.

Can anyone help me with this?

Thanks!

PC

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Please do provide an condition on the command node i.e. page break.

See for general the command should be like, if the BNAME is not equal to initial. i.e. before writing this, pass the BNAME to some global variable and check each time the loop.

Former Member
0 Kudos

Thanks!!! It's working!

Former Member
0 Kudos

I was wrong... it's not working.

It seemed to work because the BNAME was the only one that existed in that case, I tried with different BNAME's to see if the page break was working properly and it wasn't.

Answers (4)

Answers (4)

Pranil1
Participant
0 Kudos

Hi I am facing the same problem SMARTFORMS - page break generates a blank page at the end.

But I m not able to understand how exactly it is to be done.. can u pls explain it tome from start to end in details?

Thanks & Regards,

Pranil Shinde.

Former Member
0 Kudos

I was wrong... it's not working yet...

It seemed to work because the BNAME was the only one that existed in that case, I tried with different BNAME's to see if the page break was working properly and it wasn't.

Former Member
0 Kudos

Hello,

There is also one another solution that you can do.

Sort the table based on the bname, create an event in the table based on BNAME.

i.e. At end event. this creates an asterisk, so now create and command node, to trigger an new page. and below this create an table line to print all the required fields that needs to be printed.

Now before this event check whether BNAME is initial or not and pass this condition to the command node.

Check this out, if this is not working let me know so that I can send you with screen shots.

Former Member
0 Kudos

Thanks a lot!

It's working. I used the event: at begin instead.

PC

Former Member
0 Kudos

Hi Sudhakar,

I am having the same requirement.

But I dont know how exactly checks the BNAME is initial or not.

Thanks in advacne if you can help.

Former Member
0 Kudos

Can you tell me which conditions are you giving for page break..just check your conditions....

Regards

Lalit

Former Member
0 Kudos

To make the page break I went to :

TABLE node-> DATA tab ->Sort Criteria.

I gave the field name "BNAME" and then I ticked the column : EVENT ON SORT END".

After generating a node, under the main area, I have created a command, and ticked "go to new page" : First.

I have no more conditions.

Tks.

Former Member
0 Kudos

Hi,

Try to increase or decrease the size of the window or page, your problem will get resolved.

Regards,

Satish

Former Member
0 Kudos

Thanks for the suggestion, but changing the size is not solving the problem.