다음을 통해 공유


Record.AddField

통사론

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

소개

필드 이름이 record이고 값이 fieldName인 레코드 value에 필드를 추가합니다.

예제 1

레코드에 필드 주소를 추가합니다.

사용량

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

출력

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