Saltar al contenido principal

Record.AddField

Agrega un campo a un registro.

Syntax

Record.AddField(
record as record,
fieldName as text,
value as any,
optional delayed as logical
) as record

Remarks

Agrega un campo a un registro record, dado el nombre del campo fieldName y el valor value.

Examples

Example #1

Agregar el campo Dirección al registro.

Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")

Result:

[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]

Category

Record.Transformations