Przejdź do głównej zawartości

Record.AddField

Dodaje pole do rekordu.

Syntax

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

Remarks

Dodaje pole do rekordu record, używając nazwy pola fieldName i wartości value.

Examples

Example #1

Dodaj pole Address do rekordu.

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