This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
Modified record
|
Modified record {( aTable )} -> Function result | ||||||||
Parameter | Type | Description | ||||||
aTable | Table |
![]() |
Table to test if current record has been modified, or Default table, if omitted | |||||
Function result | Boolean |
![]() |
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 that this function always returns True in the following contexts:
[Table_1]Field_1:=[Table_1]Field_1
The following example shows a typical use for Modified record:
If(Modified record([Customers]))
SAVE RECORD([Customers])
End if
Product: 4D
Theme: Records
Number:
314
Created: < 4D v6
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)