Cleverman Posted June 23, 2011 Share Posted June 23, 2011 I have different variable Graphics boxes in different locations on my PDF. Every spot on the sheet has a Variable Text box for the (Customer ID#) When the Graphic Field is blank no Graphic shows (This is correct) but I have a Variable text box there also for the (Customer ID#) So I have a Blank ticket with a number on it. I need that Variable text box (Customer ID#) to print only when the Graphic Field has an image in it. Eg.......... .:)00011 or 00011. I need the number not to print if there is no image coming in. Thanks, Glenn Link to comment Share on other sites More sharing options...
Dan Korn Posted June 23, 2011 Share Posted June 23, 2011 You can make a rule which simply returns nothing (an empty string) if the graphic is missing, and otherwise returns the field value, and use that in your text frame. I don't know the names of your fields, but something like this: if (!Field("YourGraphicField")) return ""; //else return Field("Customer ID#"); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.