Solved

Can I hide a textbox on print in SSRS?

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now