maccrystal
Technical User
Crystal XI, SQL2000
30 Char String field (CODELIST), they contains several 2 char codes, with no seperator values. Need to get the 2 char code and lookup the Text value.
Rec 1: AABBCCDDEE
Rec 2: AACCDD
Rec 3: Blank or null
"AA" = Part 01
"BB" = Part 02
"CC" = Part 03
etc...
Result should look like
Rec 1art 01, Part 02, Part 03
Rec 2art 01, Part 03, Part 04
Rec 3:" *no Code *"
30 Char String field (CODELIST), they contains several 2 char codes, with no seperator values. Need to get the 2 char code and lookup the Text value.
Rec 1: AABBCCDDEE
Rec 2: AACCDD
Rec 3: Blank or null
"AA" = Part 01
"BB" = Part 02
"CC" = Part 03
etc...
Result should look like
Rec 1art 01, Part 02, Part 03
Rec 2art 01, Part 03, Part 04
Rec 3:" *no Code *"