Expand my Community achievements bar.

How can I delete one page in a 3-page document?

Avatar

Former Community Member

hi everybody!

i have this document structure:

http://www.adrive.com/public/d319adba81cf1dc6d60759bb52e5e7b9229aec2fa575fb8ae3c8d8710a54b030.html

in the regular case it produces a pdf with 3 pages.

in a particular case i need to delete the third page "PaginaContab".

how can i get this?

thanks in advance

F/\B!O

2 Replies

Avatar

Level 10

You can set the presence to Hidden for the page you do not want to display..

Place the below code in the condition which determines whether to display the 3rd page or not..

     PaginaContab.presnece = "hidden";

Thanks

Srini

Avatar

Former Community Member

hi srini!

if i do so, i get a 3-page pdf with the 3rd page showing again the "master" part.

the script you wrote hides only the "body" part.