I am only an occassional user of the webfocus product, and hence am no expert.
I have a user who in her wisdom does not want to see Z2 as the output code when displayed as output but rather they want undecided where code Z2 = undecided on the table. I have other codes in the table which there is no proble with only the Z2.
So when displaying all the codes how do I cange the value of the output field to Undecided instead of the default value of Z2.
Sorry more of an AS400 person than WebfocusThis message has been edited. Last edited by: Kerry,
July 13, 2009, 12:54 PM
Microfich
If I understand that you want to keep the value of the result field 'OUTPUT_CODE' unless the value is 'Z2', one way to do it would be (assuming a length of 25):
DEFINE FILE filename
OUTPUT_VALUE/A25 = IF OUTPUT_CODE EQ 'Z2' THEN 'Undecided' ELSE OUTPUT_CODE;
END
TABLE FILE filename
PRINT OUTPUT_VALUE
.
.
.
END
-RUN