Consultor Eletrônico



Kbase P27332: Data appears at a field in a frame when it should be blank
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/06/2003
Status: Unverified

SYMPTOM(s):

Data appears at a field in a frame when it should be blank

CAUSE:

The application code is coded to do the following:

1) Display some variables using the DISPLAY statement with the WHEN phrase
2) Go to the next iteration of the frame using the DOWN WITH FRAME statement
3) If a certain condition is true, display a string at the located of field1 in the frame
4) Repeat with step 1, only now the data displayed in step 3 still appears

When using the conditional format of the DISPLAY statement (i.e. DISPLAY ... WHEN) if a condition for displaying a field evaluates to false then the display of the field is skipped (i.e. if the evaluation is false the DISPLAY statement does nothing with that field).

FIX:

To resolve this problem, issue a DISPLAY "" AT <field> statement to clear the data previously displayed