Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.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
Reporting services SSRS:在执行之前和之后运行查询_Reporting Services - Fatal编程技术网

Reporting services SSRS:在执行之前和之后运行查询

Reporting services SSRS:在执行之前和之后运行查询,reporting-services,Reporting Services,尝试使用两个应该在运行报表之前和之后运行的DB函数:SetConnection和EndConnection 有没有办法做到这一点? 我尝试分别将它们添加为第一个和最后一个数据集,但不幸的是,尽管我在数据源上设置了单事务模式,但它并不总是有效。 有没有办法绕过这个问题 谢谢 请尝试将函数添加到主数据集中。例如,如果正在使用存储过程,则可以将函数作为存储过程代码的一部分添加 什么是主数据集的可能重复?

尝试使用两个应该在运行报表之前和之后运行的DB函数:SetConnection和EndConnection

有没有办法做到这一点? 我尝试分别将它们添加为第一个和最后一个数据集,但不幸的是,尽管我在数据源上设置了单事务模式,但它并不总是有效。 有没有办法绕过这个问题


谢谢

请尝试将函数添加到主数据集中。例如,如果正在使用存储过程,则可以将函数作为存储过程代码的一部分添加

什么是主数据集的可能重复?