Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Infopath从SharePoint列获取最大值()_Sharepoint_Infopath - Fatal编程技术网

Infopath从SharePoint列获取最大值()

Infopath从SharePoint列获取最大值(),sharepoint,infopath,Sharepoint,Infopath,如何使用Infopath和“文档信息”面板从SharePoint文档库获取最大值(特定列具有最大值的行) 我试过了。它不起作用 谢谢。我在Infopath中也尝试过这一点,但无法做到。最后,我被迫为infopath表单编写VSTA代码,查询表单,然后执行CAML查询以获取max条目: <View> <Query> <OrderBy> <FieldRef Name="yourColumn" Ascending

如何使用Infopath和“文档信息”面板从SharePoint文档库获取最大值(特定列具有最大值的行)

我试过了。它不起作用


谢谢。

我在Infopath中也尝试过这一点,但无法做到。最后,我被迫为infopath表单编写VSTA代码,查询表单,然后执行CAML查询以获取max条目:

<View>
    <Query>
        <OrderBy>
            <FieldRef Name="yourColumn" Ascending="FALSE" />
        </OrderBy>
    </Query>
    <RowLimit>1</RowLimit>
</View>

1.

VSTA是否被VSTO取代?我已经在使用VSTO,我的word文档有一个代码隐藏,所以我不知道是否应该添加VSTA。谢谢。我还没有用过VSTO,所以我不知道如何回答你的问题。您正在使用Infopath 2010吗?