Kbase P108310: Wrong values written to file when using OUTPUT TO and DISPLAY statements
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/03/2011 |
|
Status: Unverified
SYMPTOM(s):
Using OUTPUT TO <filename>
Using DISPLAY ... WITH FRAME statements to write data to file
Character field repeats value from previous iteration
Character field is defined VIEW-AS EDITOR in frame / form definition
DISPLAY for character field is conditional (DISPLAY ... WHEN ...)
Character field should not be displayed based on WHEN condition
CAUSE:
Bug# 20050831-003
FIX:
Upgrade to 9.1E03 or later
Upgrade to 10.0B04 or later
Upgrade to 10.1A or later
and use -clred (clear editor) startup uption.
Workaround:
Avoid using the DISPLAY ... WHEN construct for fields view-as editor.
As these are always character fields, this can be achieved by displaying an intermediate character variable. This variable will be set to the field value if it should be printed, otherwise it is set blank.