Record.AddField
Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record
Agrega un campo a un registro record
, dado el nombre del campo fieldName
y el valor value
.
Agregar el campo Dirección al registro.
Uso
Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")
Salida
[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]