Baca dalam bahasa Inggris

Bagikan melalui


Record.AddField

Sintaksis

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

Tentang

Menambahkan bidang ke rekaman record, dengan nama bidang fieldName dan nilai value.

Contoh 1

Tambahkan bidang Alamat ke rekaman.

Penggunaan

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

Output

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