Record.AddField
Syntax
Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record
Informácie
Pridá pole do záznamu record
s daným názvom poľa fieldName
a hodnotou value
.
Príklad č. 1
Pridajte do záznamu pole Adresa.
Použitie
Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")
Výkon
[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]