Consultor Eletrônico



Kbase P24614: ADM2: How to know in the SmartDataObject if the updated reco
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/05/2003
Status: Unverified

GOAL:

ADM2: How to know in the SmartDataObject if the updated record is a new one or not

GOAL:

How to use the getNewRow() function for a SmartDataObject

FACT(s) (Environment):

Progress 9.1x

FIX:

The getNewRow() function returns TRUE if the record is a new one or FALSE if the record has been updated. This function could be used as the following example shows:

IF DYNAMIC-FUNCTION('getNewRow':U IN <sdo-handle>) = TRUE THEN
...
...