>PADR(THIS.Strip(TRANSFORM(IIF(Covr.Cvt='01','MediCare',IIF(Covr.Cvt='02','MediCaid','Other)), '@T')), 30, ' ') ; > AS IN1_15_00_Plan_Type, ; >Can you use ICASE - the code would be a bit simpler to read?
*32 spaces in total for each word lcListOfChoices = [ Other 01MediCare 02Medicaid ] this.strip(substr(m.lcListOfChoices,at(Covr.Cvt,m.lcListOfChoices)+2,30))