?
Solved

Can I hide a textbox on print in SSRS?

Posted on 2014-09-03
4
Medium Priority
?
560 Views
Last Modified: 2014-09-04
I am personalizing our reports to give the current date and welcome the user by name.  I was wondering if there was a way to hide that part when the user prints the report?  I know specify visibility based on RenderFormat.Name if it is Excel or Word but what about printing?  Just curious if it's possible and how to do it since my searching hasn't produced any results yet.

Thank you!
0
Comment
Question by:HSI_guelph
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 27

Expert Comment

by:planocz
ID: 40301998
You can still use that info on the SQL query side. But on the report side you would have to just remove those two data items for it not to show on the report.
0
 
LVL 21

Expert Comment

by:Alpesh Patel
ID: 40302859
There is different rendering option using that you can apply formula on textbox.

http://technet.microsoft.com/en-us/library/cc627537%28v=sql.100%29.aspx
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 2000 total points
ID: 40303172
I know specify visibility based on RenderFormat.Name if it is Excel or Word but what about printing?

You can indeed also use RenderFormat to detect if the report is being printed.  The .Name property will be set to 'IMAGE' in that case.

Ref Hide/Show Items Dependant On Export Format (SSRS)
0
 

Author Closing Comment

by:HSI_guelph
ID: 40303674
That is it!  It works perfectly now, thank you very much!!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question