MCohen Posted February 25, 2015 Share Posted February 25, 2015 Can this be done? I have 2 fields that are not empty. Field 1 is called COMPANY and field 2 is called Full Name. I want to suppress the 2nd field (Full Name) when it has the same name as field 1 (COMPANY), example of what I have now: Bob's Flooring (COMPANY) Bob's Flooring (Full Name) but if the field 2 has a different name (David Smith) than field 1 (COMPANY) then I want field 2 too show also. This is being used in an address block on a letter. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted February 26, 2015 Share Posted February 26, 2015 var r = TaggedDataField("COMPANY"); if (Field("COMPANY") != Field("Full Name")) r += "<br>" + TaggedDataField("Full Name"); return r; 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.