Solved

Can I hide a textbox on print in SSRS?

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL Update query with connected table data 3 63
selective rebuild of SQL Tables in scheduled job 10 39
SQL Sum of items in two tables not equal. 5 49
Using this function 4 42
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
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…

733 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