gdellaiera Posted July 6, 2017 Posted July 6, 2017 I've been working on a span statement & it works well. I need to change the color to a pantone (Pantone 638 CMYK) & I'm having an issue doing so. if (Field("Certification 1") == ""){ return ""; }else{ return "<span font=Wingdings>n</span>" + Field("Certification 1"); } I'm new to spans & have limited experience with them. I've tried adding 'font color = Pantone 638 CMYK' inside of the span but then the rule no longer works. Maybe I am just going about it all wrong? Thanks Quote
Dan Korn Posted July 6, 2017 Posted July 6, 2017 return '<span font="Wingdings" color="Pantone 638 CMYK">n</span>' + Field("Certification 1"); http://forums.pti.com/showthread.php?t=580 Quote
gdellaiera Posted July 6, 2017 Author Posted July 6, 2017 Thanks for the response, unfortunately I am getting a syntax error & when I put a colon where it suggest, it keeps giving the same error http://forums.pti.com/attachment.php?attachmentid=1701&stc=1&d=1499369192 Quote
Dan Korn Posted July 7, 2017 Posted July 7, 2017 Thanks for the response, unfortunately I am getting a syntax error & when I put a colon where it suggest, it keeps giving the same error http://forums.pti.com/attachment.php?attachmentid=1701&stc=1&d=1499369192 Sorry, I can't see anything on that downsampled graphic. A picture is usually worth a thousand words, but in this case it might be better to simply copy-and-paste bot the rule syntax and the error message from the composition log (.msg) file. Quote
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.