Record.AddField

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

给定字段 fieldName 的名称和值 value,将字段添加到记录 record

示例:

将字段地址添加到记录。

使用情况:

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

输出:

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

results matching ""

    No results matching ""