Aller au contenu principal

Do not print blank page if there are no attachments

Commentaires

5 commentaires

  • Permanently deleted user

    If you haven't already, try the "Can Shrink" property on the multi feature attachments control. It there's a defined page-break coming from somewhere else that wouldn't fix it, but if it's just a matter of the control occupying enough space that it causes a page break, that should do the trick.

    0
  • Jenny Oh

    Thank you. It worked. But the attachments looked very small. How to make it a fixed size for all attachments?

    0
  • Jill Ryan

    I have a "multifeatureattachment" in a SubReport that displays my photo attachments. 

    However, if there are no photos, I would like to eliminate the white space of the "multifeatureattachment" row. 
    I have set the"CAN SHRINK", but I still have a huge white space between features in the report.  

     

     

    1
  • Shelley Schulte

    Jill Ryan Did you have any luck with this? I'm trying the same thing. Thanks!

    0
  • Nataliya Lys

    Hi Shelley Schulte,

     

    This is what I have done to hide some sub-reports, and not return empty space if there is no inspection for one of the years. You should be able to do the same thing with attachments. 

    I have each year's inspection in separate sub-report, and each sub-report in a separate Detail section. And then I use a script to hide the Detail section (Before Print) if there are 0 records returned in the sub-report in that section. 

     

     

     

    Finally, under Property for each Detail section you need to reference your script

    I hope that helps. 

     

    1

Vous devez vous connecter pour laisser un commentaire.