Consultor Eletrônico



Kbase P36150: ADM2 "Current record has been change. Do you wish to save th
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/8/2003
Status: Unverified

SYMPTOM(s):

"Current record has been change. Do you wish to save those changes?" message is not displayed when the window is closed

The window is closed by clicking the X button in the top-right corner

By closing the window using a DONE button, the confirmation message is displayed

SmartDataBrowser

CAUSE:

The exact cause is unknown at the time of this writing.

CAUSE:

Bug# 20030808-014

FIX:

1) Edit the master for the SDB
2) Insert this code in the ROW-LEAVE trigger:

DO:

IF DYNAMIC-FUNCTION('getDataModified':U) THEN DO:
MESSAGE "Current record has been change. Do you wish to save those changes?"
VIEW-AS ALERT-BOX QUESTION BUTTONS YES-NO-CANCEL
TITLE "Message" UPDATE choice AS LOGICAL.
IF choice THEN
RUN updateRecord.
ELSE
RUN cancelRecord.
DYNAMIC-FUNCTION('setDataModified':U, INPUT YES).
END.

{src/adm2/brsleave.i}

END.