Modified record

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 3


Modified record {(aTable)} Boolean

ParameterTypeDescription
aTableTableTable to test if current record has been modified, or
Default table, if omitted
Function resultBooleanRecord has been modified (True), or
Record has not been modified (False)

Description

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.

Example

The following example shows a typical use for Modified record:

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

See Also

Modified, Old, SAVE RECORD.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next