4D v14.3

Modified record

Home

 
4D v14.3
Modified record

Modified record 


 

Modified record {( aTable )} -> Function result 
Parameter Type   Description
aTable  Table in Table to test if current record has been modified, or Default table, if omitted
Function result  Boolean in Record has been modified (True), or Record has not been modified (False)

Modified record returns True if the current record of aTable has been modified but not saved; otherwise it returns False. This function allows the designer to quickly test whether or not the record needs to be saved. It is especially valuable in input forms to check whether or not to save the current record before proceeding to the next one. This function always returns True for a new record.

Note: Modified record always returns True after the execution of the PUSH RECORD and POP RECORD commands.

Example  

The following example shows a typical use for Modified record:

 If(Modified record([Customers]))
    SAVE RECORD([Customers])
 End if

 
PROPERTIES 

Product: 4D
Theme: Records
Number: 314

 
HISTORY 

Created: < 4D v6

 
SEE ALSO 

Modified
Old
SAVE RECORD

 
ARTICLE USAGE

4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)