mariaProgress
New Member
Hello,
I have a problem with cancel update field in progress.
ON 'CHOOSE':U OF btn_cancel IN FRAME FR_SAISIE
DO:
GET CURRENT Q_user EXCLUSIVE-LOCK NO-WAIT.
IF Browser_user:CURRENT-ROW-MODIFIED THEN DO:
APPLY 'GO':U TO FRAME FR_SAISIE .
END.
END.
when I put a new record and I click on the btn_cancel ,it saves this new record but I want to cancel it and display the old .
thanks .
I have a problem with cancel update field in progress.
ON 'CHOOSE':U OF btn_cancel IN FRAME FR_SAISIE
DO:
GET CURRENT Q_user EXCLUSIVE-LOCK NO-WAIT.
IF Browser_user:CURRENT-ROW-MODIFIED THEN DO:
APPLY 'GO':U TO FRAME FR_SAISIE .
END.
END.
when I put a new record and I click on the btn_cancel ,it saves this new record but I want to cancel it and display the old .
thanks .