在表达式对话框中使用另一个数据集中的参数
我正在尝试设置 Tablix 中一行的可见性。但为此,我需要另一个数据集的属性。 我尝试进入表达式对话框并选择另一个数据集的一个属性。 它将显示:
1 =First(Fields!DatasetPropertyName.Value, "Customer")
“Fields!DatasetPropertyName.Value”部分带有红色下划线。如果我尝试构建,则会出现“预期表达式”之类的错误。 (我有德语版本,正在尝试翻译)
有什么问题吗?如何在表达式对话框中从另一个数据集获取属性?
回答
感谢乔亨的
I am trying to set the visibility of a row in a tablix. But for doing that, I need a property of another dataset.
I tried to go in the Expression Dialog Box and choose one property of another dataset.
It will display:
1 =First(Fields!DatasetPropertyName.Value, "Customer")
The "Fields!DatasetPropertyName.Value" part is underlined red. If I am trying to build there is an error like "expression expected". (I have a german version and trying to translate)
What is wrong there? How to get properties from another dataset in the Expression Dialog Box?
Thanks for answers
Jochen
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么你的表达式开头有一个“1”?这是一个错字吗?它应该只是:
...(以“=”开头,前面没有空格)假设“Customer”是填充“DataSetPropertyName”的数据集的名称。不用担心红色波浪下划线。我在很多表达式中都看到了这一点,只要表达式没问题,报告就可以正常编译和运行。
Why is there a "1" at the beginning of your expression? Is that a typo? It should just be:
... (starts with "=", no spaces before) assuming "Customer" is the name of the dataset where "DataSetPropertyName" is populated. Don't worry about the wavy red underline. I see that in a lot of my expressions, and the reports compile and run just fine as long as the expression is ok.