Kbase P181493: Deleting a record in from within a FOR EACH ... BREAK BY loop causes other records not to be display
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/01/2011 |
|
Status: Unverified
SYMPTOM(s):
Deleting a record in from within a FOR EACH ... BREAK BY loop causes other records not to be displayed
Procedure leaves the FOR EACH loop prematurely, so not all of the expected records are displayed.
FACT(s) (Environment):
The deleted record is involved in the BREAK.
An auxiliary buffer is used to find the record to be deleted.
All Supported Operating Systems
Progress/OpenEdge Product Family
CAUSE:
Records should not be deleted within a BREAK BY loop. This can lead to unpredictable results.
FIX:
Re-code the loop to avoid the BREAK option.