问题标签 [reporting-services-2016]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
reporting-services - 使用 Global!.TotalPages 参数在报表渲染后发送到存储过程
我正在尝试使用报告的内置参数更新数据库中的记录,Global.TotalPages
但我做不到。
我尝试使用子报告,在其中调用存储过程来更新所述记录,但我无法将 Total Pages 变量作为参数发送,因为我只能Global.TotalPages
在标题中使用。
我也尝试在标题上调用子报告,但这是无法完成的。
有人对如何使用该Global.TotalPages
值更新数据库中的记录有任何想法吗?
PS:我还尝试使用以下公式计算页数:
但这并不总是准确的,有时我会少 1 页,有时会多 1 页,有时我会得到正确的页数。