Lire en anglais

Partager via


Record.AddField

Syntaxe

Record.AddField(record as record, fieldName as text, value as any, optional delayed as nullable logical) as record

À propos

Ajoute un champ à un enregistrement record, selon le nom du champ fieldName et la valeur value.

Exemple 1

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."]