I have a form where I would like to have a subform hidden while the user is entering data, and then reveal during printing. This I can do (just toggle the presence during the pre/post print scripting areas).
When the document is printed, I also want to control the pagination of the subform to force it to the top of the next page - but only when printing. If I do this using the palette Object...Pagination...Place (Top of next page), it works, but it creates a large gap when the user is filling out the form on the screen. I want to control this property with scripting during the "prePrint" stage of processing the form (and then toggle it back "postPrint").
I can't find the right code to do this - anybody know the right code?
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
If you make the presence of th esubform hidden instead of invisible it will not be included in the layout hence it will not take up space.
Paul
Views
Replies
Total Likes
If you make the presence of th esubform hidden instead of invisible it will not be included in the layout hence it will not take up space.
Paul
Views
Replies
Total Likes
I knew this was simpler than I was making it!
I didn't think of the hidden aspect, since I'm currently trying to get everything to work properly. Thank you!
I'm now making the subform "hidden" as the default, with the pagination set to "Top of Next Page". When I print, I toggle the presence to "visible" in the prePrint coding area, and then back to "hidden" in the postPrint area.
Views
Replies
Total Likes