如何使用Infopath和文档信息面板从SharePoint文档库中获取最大值(特定列的值最大的行)。
尝试max(。)它不起作用。
感谢。
答案 0 :(得分:2)
我在Infopath也试过这个,但却无法这样做。最后,我被迫为infopath表单编写VSTA代码,查询表单,然后执行CAML查询以获取最大条目:
<View>
<Query>
<OrderBy>
<FieldRef Name="yourColumn" Ascending="FALSE" />
</OrderBy>
</Query>
<RowLimit>1</RowLimit>
</View>