Compartilhar via


Record.AddField

Sintaxe

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

Sobre

Adiciona um campo a um registro record do nome do campo fieldName e do valor value.

Exemplo 1

Adicionar o campo Endereço ao registro.

Usage

Record.AddField([CustomerID = 1, Name = "Bob", Phone = "123-4567"], "Address", "123 Main St.")

Saída

[CustomerID = 1, Name = "Bob", Phone = "123-4567", Address = "123 Main St."]