IsNewRow

The IsNewRow() function returns a boolean value that indicates if the specified row is newly created and not yet saved to the database.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Syntax

IsNewRow(list)

IsNewRow( [Users] ) => yes - when a new row has been created and not yet saved

IsNewRow( [Products] ) => no - when there is no new row created in current session.

IsNewRow(reference)

IsNewRow( [CurrentUser-Reference] ) => yes - when the current user reference field is pointing to a row which has just been created and not yet saved

IsNewRow( [CurrentProduct-Reference] ) => no - when the current product reference field is pointing to a row which has been saved or retrieved from the database (previously saved).

Parameters

Name
Type
Required
Description

list

list

☑️

a database list

reference

reference

☑️

a reference to a row of a database list

Last updated

Was this helpful?