Record.ToTable

Record.ToTable(record as record) as table

返回一个表,它包含 NameValue 列以及对应于 record 中每个字段的行。

示例:

从记录返回表。

使用情况:

Record.ToTable([OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0])

输出:

Table.FromRecords({[Name="OrderID", Value=1],[Name="CustomerID", Value=1],[Name="Item", Value="Fishing rod"],[Name="Price", Value=100]})

results matching ""

    No results matching ""