Kbase P9180: Error (382) when trying to reposition to a row which no long
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/21/2003 |
|
Status: Unverified
SYMPTOM(s):
Error (382) when trying to reposition to a row which no longer exists in the DB
Cannot reposition to a row in a browse with RECID if the record has been deleted in another session
Trying to remove a row from a browse with 4GL
the rows record has already been deleted by anther session
Invalid use of browse method . There are no selected rows. (382)
CAUSE:
The error occurs because an attempt is made to reposition to a RECID which no longer exists within the Database
FIX:
Reposition to the row but suppress any errors with NO-ERROR then refresh the browse, this will remove the row which you attempted to reposition to and no longer exists.
Example:
REPOSITION {&BROWSE-NAME} TO RECID(INT(fill-in-recid:SCREEN-VALUE)) NO-ERROR.
{&BROWSE-NAME}:REFRESH().