Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 ReportItems field will not display on print copy

Author  Topic 

eric_ht
Starting Member

37 Posts

Posted - 2010-02-11 : 14:17:01
I'm referencing a report items field in the header of a report. The field itself is in the detail line in a table in the report. I am referencing it as such: ReportItems!textbox323.Value. The field in the table is set to Hidden=True. When I preview the report the field shows in the heading as it should. But when I print the report or view the report in print layout it does not appear. What gives?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-12 : 08:02:45
if hidden=true then how will it display?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

eric_ht
Starting Member

37 Posts

Posted - 2010-02-12 : 09:36:11
The field in the header is not hidden, only the one in the table that it is referencing. If hidden is the problem then why does it display properly in screen view? It's only in print layout preview and the printed hard copy it does not print.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-12 : 09:41:41
is it a multiple page report? does textbox come in same page as in header?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

eric_ht
Starting Member

37 Posts

Posted - 2010-02-12 : 09:49:45
It is a multiple page report. The report breaks on plant name and this plant name is what I need to show in the header. The textbox that contains plant name is on the same page.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-12 : 10:30:52
see

http://msdn.microsoft.com/en-us/library/bb934329.aspx

i think it may be because your textbox is out of scope of reportitem collection

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -