Record.AddField
Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record
Dodaje pole do rekordu record
, przy użyciu nazwy pola fieldName
i wartości value
.
Dodaj pole Adres do rekordu.
Użycie
Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")
Wyjście
[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]