向表达式添加换行符
我有一个表达式语句来显示报表查看器文本框的内容,但在尝试在两个表达式之间添加回车符或新行时变为空白。我的表达如下:
=Format(Fields!LastDateVisited.Value, "d")+ " "+Fields!LastVisitType.Value
我想将其改为新行,而不是空格。我尝试了“\n”但没有成功,任何建议都会很棒。谢谢!
I have an expression statement to display content for a text box for a reportviewer but went blank when trying to add a carriage return or a new line between the two expression. My expression as follows:
=Format(Fields!LastDateVisited.Value, "d")+ " "+Fields!LastVisitType.Value
Instead of the space i want to make it a new line. I tried "\n" but didn't work, any suggestions would be great. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您还可以使用以下:
You can also use following :
我认为行尾字符应该有效:'\n'
I think that a end of line character should work: '\n'
在占位符属性(Expr 页面)中将标记类型更改为 html
in your placeholder properties (Expr page) change the markup type to html