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
 Development Tools
 Reporting Services Development
 Can't reference more than one report item!

Author  Topic 

Dutchie75
Starting Member

22 Posts

Posted - 2009-01-26 : 13:16:59
I'm trying to use the following code in my page footer (ssrs 2005):

=ReportItems!txtA.Value + ReportItems!txtB.Value

But I get the following error:

"An expression in a page header or footer can refer to only one report item."

HELP please!

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-27 : 12:59:04
why do you need to refer to report ietms like? what do they contain? if they're some aggregated quantity you can directly use them in footer. like:-

=SUm(Fields!Qty1.value,"dataset1") + SUm(Fields!Qty2.value,"dataset2")
Go to Top of Page

Dutchie75
Starting Member

22 Posts

Posted - 2009-02-13 : 22:43:00
Sorry, I forgot to post my update. I couldn't use your solution because I wasn't referencing actual Fields; I was referencing text boxes containing their own calculations. I was able to solve my problem throuh custom code. Thanks for the reply, though. :)
Go to Top of Page
   

- Advertisement -