Consultor Eletrônico



Kbase P59748: New row in updatable browse does not get focus properly
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/12/2003
Status: Unverified

SYMPTOM(s):

New row in updatable browse does not get focus properly

Cells in the browse are enabled and disabled programmatically using READ-ONLY attribute

New row does not get focus when all cells are disabled at the time new row is added.

CAUSE:

This is a known issue.
What happens is that when INSERT-ROW() is called, the newly created row will have the same sensitive and insensitive cells as the previously selected one.

If that row had no sensitive cells, neither will the newly created one and this will cause the implicit entry event the INSERT-ROW() generates on the browse row to fail.

FIX:

Use the COLUMN-READ-ONLY instead of the READ-ONLY attribute for the browse columns to prevent user input.

- OR -

Make sure the appropriate columns are sensitive by programmatically setting the READ-ONLY attribute before INSERT-ROW() is invoked.