Solved

Can I hide a textbox on print in SSRS?

Posted on 2014-09-03
4
490 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 500 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
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.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

729 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