title: iReport - Print when expression to control whole layout or not
body: <p>I am in an urgent need of having the print layout thing based on the one fied condition.  Let us say I have a shipment label layout with 50 fields in it and which is working.  But before I print that, I have a condition saying that if Number of Packages is 0 do not print at all. Just print an error message saying that no packages and no labels.  Which means when that particular actions is taken, if the number of packages is 0 then it should print only a message and not the total print layout with 50 fields.  </p>
  
  <p>Anythoughts,  I went through lot of documentation.  I found only print when expression is used at field level.  if that's case do I need add that check for all the 50 fileds :).</p>
  
  <p>Please clarify or suggest.</p>
  
  <p>Regards,
  ~Madhu</p>