Reports whether the row has been newly inserted.
IsRowNew ( )
Boolean. Returns true if the row is new and false if it was retrieved from the database.
In a DataWindow object, when you call IsRowNew in bands other than the detail band, it reports on a row in the detail band. See GetRow for a table specifying which row is associated with each band for reporting purposes.
This expression defined in the Properties view for the Protect property of a column prevents the user from modifying the column unless the row has been newly inserted:
If(IsRowNew(), 0, 1)