Setting the focus to a updateable browser field

sidero

New Member
Hi all :) Can anyone help with the following:

By pressing the return key I would like to set the focus
to the first updateable field in a browser.

What's wrong with this code:

ON RETURN OF BROWSE-1 DO:
APPLY "ROW-ENTRY":U TO BROWSE-1.
RETURN NO-APPLY.
END.

Thanks in advance
Oliver
 
U

Unregistered

Guest
When trying to get to the first updateable field in a browse, I usually:

APPLY "ENTRY":U TO [field] IN BROWSE {&BROWSE-NAME}.

Where [field] is the first updateable field in my browse. Suggest you also use the {&BROWSE-NAME} preprocessor?
 
Top