开发者

show fields depending if is printing or not in a report

I have a report that is going to be printed in a pre-formatted sheet (like an invoice). I want the user to be able to see the report as it would appear on the paper开发者_开发百科, but print only the values for each field on the sheet. I know each field has a property "hide based on an expression"; but how can I distinguish between printing and on screen visualization. I am using c# and report viewer on vs 2010.


You should be able to assign the hidden field something like this "=Globals!RenderFormat.IsInteractive". Read this article for more information on rendering report layout.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜