Jump to content

suppress insert picture rule?


Recommended Posts

Is there a way to suppress a graphic resource when using the insert picture rule?


I have a graphic resource (t) that i want to suppress when the phone number has been suppressed...


Any insite as to how to do this the least complicated way would be appreciated as I am a giant noob with FP and JS!!




Link to comment
Share on other sites

Paste this into the OnRecordStart Rule:


if (Field("Phone#") == ""){
   FindGraphicFrame("T").suppress = true;
else {
   FindGraphicFrame("T").suppress = false;


I made a couple of assumptions with my code:

1: Your graphic resource is a graphic frame named "T"

2: Your phone number field is named "Phone#" and is suppressed when it contains nothing.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...