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

Combining fields together

Status
Not open for further replies.

adnil

Technical User
Oct 29, 2003
50
GB
We have the following fields in a table:

Team name Year ID Figure
ABC 2015 0
ABC 2014 160
ABC 2013 160

XYZ 2015 172
XYZ 2014 0
XYZ 2013 0

ABC was the team's old name and XYZ is the team's current new name. We would like to data to appear as:

XYZ 2015 172
XYZ 2014 160
XYZ 2013 160

Any suggestions on how we can achieve this please?

Thank you.

Lin
 
if {table.field} = 'ABC'
then "XYZ"
else {table.field}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top