Save

The save function is used to save data from a Web form. It handles various field types (text, date, image, etc.) and ensures validation and integrity of values before storing them in the database.

Using DevPanel :

Name

{ vb_UseOtherTable }

Label_label

Use another table

Property key

Boolean

Description

Indicates whether another table is to be used.

{ vt_TableName }

Table name

Text

Name of table in which to save data.

{ vt_TableName }

If necessary, specify the relationship path (ex: Entity.MaRelation)

Text

Method for retrieving the record's primary key.

{ vt_HookAfterSave }

Function after backup

Text

Function to be executed after data backup.

Use from 4D:

Should not be used from within a 4D custom function. See example of entity creation via reloadBloc.