Kbase P129964: CREATE-RESULTS -LIST-ENTRY adds browse row in the wrong position
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/04/2011 |
|
Status: Verified
SYMPTOM(s):
Browse ROW-DISPLAY trigger is fired
Trigger code calls <browse>:create-result-list-entry() method
Focus not set on newly created row
Create-result-list-entry fired from row-entry trigger adds the new row in the wrong position in the browse.
FACT(s) (Environment):
OpenEdge 10.1x
Windows
CAUSE:
This is expected behavior.
CREATE-RESULTS-LIST-ENTRY for browse widget is intended for use only in a ROW-LEAVE trigger. How it should behave outside that use case is undefined.
FIX:
Do not use the CREATE-RESULTS-LIST-ENTRY function in the ROW-DISPLAY trigger.
As this is normally used for new rows in a browse, consider using the ROW-LEAVE trigger to validate and commit the new row - the CREATE-RESULTS-LIST-ENTRY function should be called there when the row will be committed.