Consultor Eletrônico



Kbase P89509: SmartDataViewer with fields enabled
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

SmartDataViewer with fields enabled

GOAL:

User can update fields but these changes are not to be saved

GOAL:

On closing the container the following message is displayed:

GOAL:

Current values have not been saved

GOAL:

How to avoid this message appearing

GOAL:

ADM2

FIX:

Set the DataModified flag to FALSE for the updated viewer:

1. Open the container in design time
2. Go to the WINDOW-CLOSE trigger
3. Add:
DYNAMIC-FUNCTION('setDataModified' IN <yourviewer>, INPUT FALSE).
APPLY "CLOSE"...