Add on the end of Browse

mariaProgress

New Member
Hi,

I want to end row on the end of browse , not after the selectable row , because browse add by default after selectable row .

It displays this error : Invalid row index specified for browse method (385) .


DEFINE VARIABLE w_status AS LOGICAL NO-UNDO.

ON 'CHOOSE':U OF btn_creer IN FRAME frame1
DO:
DEFINE VARIABLE w_ligne AS INTEGER NO-UNDO.
DEFINE VARIABLE w_log AS LOGICAL NO-UNDO.

FOR EACH command :
w_ligne = w_ligne + 1 .
END.

w_log = B_Browse1:SELECT-ROW(w_ligne) .

ASSIGN
w_status = B_Browse1:INSERT-ROW("AFTER":U) .

END .
 

SergioC

Member
Hi, this example was taken from the Progress Knowledge Base with some modification.

Regards.
 

Attachments

  • add-upd-del.zip
    2.3 KB · Views: 21
Top