Record.AddField
Sintassi
Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record
Informazioni su
Aggiunge un campo a un record record
, corrispondente al nome del campo fieldName
e al valore value
.
Esempio 1
Aggiungere il campo Address al record.
Utilizzo
Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")
Output
[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]