Record.AddField
Adiciona um campo a um registro.
Syntax
Record.AddField(
record as record,
fieldName as text,
value as any,
optional delayed as logical
) as record
Remarks
Adiciona um campo a um registro record
a partir do nome do campo fieldName
e do valor value
.
Examples
Example #1
Adicionar o campo Address ao 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