My more experienced predecessor has created a formula using case logic. Unfortunately our client would like to change the form so that whenever the formula returns the words "data blank" they appear red while the rest of the formula results remain black.
Below is a segment of that formula:
select Left({RptPersonnelSP;1.optionName}, 3)
case "T13":
"13 (03) – Transferred to another State Agency" + chr(13) + "Agency: " + IIF ({RptPersonnelSP;1.cvAgencyTransferTo} = "", "data blank", {RptPersonnelSP;1.cvAgencyTransferTo}) + chr(13) + "Start Date: " + IIF ({RptPersonnelSPP;1.cvNewAgencyStart} = "Dec 30, 1899", "data blank", {RptPersonnelSP;1.cvNewAgencyStart}) + chr(13) + "*Letter of Resignation*"
When the formula returns the words "data blank" my client would like to see these words in red. Is it possible to change the color of one part of a formula while the rest remains the original color?
Your assistance in this matter is tremendously appreciated.
Thanks,
iwm
Below is a segment of that formula:
select Left({RptPersonnelSP;1.optionName}, 3)
case "T13":
"13 (03) – Transferred to another State Agency" + chr(13) + "Agency: " + IIF ({RptPersonnelSP;1.cvAgencyTransferTo} = "", "data blank", {RptPersonnelSP;1.cvAgencyTransferTo}) + chr(13) + "Start Date: " + IIF ({RptPersonnelSPP;1.cvNewAgencyStart} = "Dec 30, 1899", "data blank", {RptPersonnelSP;1.cvNewAgencyStart}) + chr(13) + "*Letter of Resignation*"
When the formula returns the words "data blank" my client would like to see these words in red. Is it possible to change the color of one part of a formula while the rest remains the original color?
Your assistance in this matter is tremendously appreciated.
Thanks,
iwm