LyndaEngelage Posted February 23, 2016 Share Posted February 23, 2016 I'm needing a rule written to insert a picture when the data field is empty. It doesn't matter what's in the field but if empty it needs a graphic. Otherwise if there is data in that field then no graphic. It's for ID cards and I want the graphic "Not Used" to show when there is no data. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted February 23, 2016 Share Posted February 23, 2016 if (!Field("Your Field Name")) return Resource("Not Used"); //else return NullResource(); Quote Link to comment Share on other sites More sharing options...
LyndaEngelage Posted February 23, 2016 Author Share Posted February 23, 2016 Please see attachments. I have inserted field names and resource name as shown, but graphic is not showing in preview. What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
David Miller Posted February 24, 2016 Share Posted February 24, 2016 Please see attachments. I have inserted field names and resource name as shown, but graphic is not showing in preview. What am I doing wrong? Every once in awhile I get a stubborn EPS file that will not preview but still composes. Suggest you try converting the EPS file to PDF. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted February 24, 2016 Share Posted February 24, 2016 Please see attachments. I have inserted field names and resource name as shown, but graphic is not showing in preview. What am I doing wrong? Try doing a regular composition (not a Preview) and looking in the log file for any relevant messages. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.