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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re-Assigning multiple names

Status
Not open for further replies.

surad

Technical User
Mar 10, 2003
37
US
How can I include function by re-assigning multiple names?

Currently I have this statements under fullname:

IIF(Trim({TABLE_EMPLOYEE.LAST_NAME})+", "+Trim({TABLE_EMPLOYEE.FIRST_NAME}) = "Edwards, Sam", "Chase, Sam",
Trim({TABLE_EMPLOYEE.LAST_NAME})+", "+Trim({TABLE_EMPLOYEE.FIRST_NAME}))

Thanks,
Yuri
 
Create a formula like the following using a select/case statement:

stringvar name := {Employee.Last Name} + ", "+{Employee.First Name};

select name

case "Peacock, Margaret" : "Chase, Samantha"
case "Suyama, Michael" : "Abramowitz, Les"
case "King, Robert" : "Patterson, Christina"
default : name

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top