开发者

Column headers from different dataset in MS Reporting Services

开发者 https://www.devze.com 2023-01-12 14:33 出处:网络
I basically need to load table headers from one dataset and table data from another. Is it possible to do with MS Rep开发者_StackOverflow社区orting services?

I basically need to load table headers from one dataset and table data from another. Is it possible to do with MS Rep开发者_StackOverflow社区orting services?

As I can see table is associated with the data by DataSetName property and it can be only one dataset.


You can include data from a different dataset to the one linked to the table by including the dataset name in the expression, for example:

=First(Fields!HeaderField1.Value, "HeaderDataset")


If the dataset isn't dynamic, then you can manually define the dataset (or edit it) Ctrl + alt + D (I think) should pop the dataset window open (in RS2005/2000) failing that I think it's under: view - other windows

I have used this where a stored proc uses temp tables and RS is unable to determine the final dataset structure correctly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号