Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal XI - If rep name is X then display Customer Service as result

Status
Not open for further replies.

davismar

IS-IT--Management
Apr 1, 2010
85
US
Need some formula help in Crystal XI.

I have 2 inactive rep names. KK and LM.
The table field is called "{tblReps.RepName}"
If they appear during the printing of the report,
I want the value to display the words "Customer Service"

Can anyone help me with this?

Thanks!
 
@yourformula
if {tblReps.RepName} in ["KK","LM"] then "Customer Service"
else {tblReps.RepName}

_____________________________________
Crystal Reports 2008 and XI
Intersystems Cache 2012 ODBC connection

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top