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
Solved

Can I hide a textbox on print in SSRS?

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 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