Select to view content in your preferred language

Feature Report Template with Section Break creates blank page

164
1
4 weeks ago
danbecker
Frequent Contributor

We have several repeats in a form that hold images. To force those repeats to start a new page in the template, we added a Word Section Break (Next Page) inside of a S123 conditional statement, like so.  

danbecker_0-1775571454902.png

Then the "general_photos" section starts, printing exactly 2 photos on each page. Works great.

danbecker_1-1775571611526.png

But, after the last "general_photo", if there are NOT any "cultural_res_photos" (see condition after the photo table above) we still get a blank page inserted at the end, because of the Section Break (Next Page). 

How do we control this? Even though that condition is NOT met, the Section Break still gets inserted. 

All I hear about, is how AI is coming for my job, yet, in our Azure GOV environment, there is NOT a way to have a powerautomate flow or AI, delete the last page of the generated feature report, LOL. 

 

0 Kudos
1 Reply
AlfredBaldenweck
MVP Frequent Contributor

I think that's just going to happen. I'm not positive section breaks are recognized as being "within" that if statement.

I have a report that just prints a blank page at the end and I've decided it's fine if it's there, although if this is happening in the middle of your document that sounds like more of a real problem.

0 Kudos