Record.AddField
Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record
Ajoute un champ à un enregistrement record
, selon le nom du champ fieldName
et la valeur value
.
Ajoutez le champ Address à l’enregistrement.
Utilisation
Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")
Sortie
[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]