all groups > sql server reporting services > november 2004 >
You're in the

sql server reporting services

group:

Data in Page Header...


Data in Page Header... Terry Mulvany
11/1/2004 1:20:48 PM
sql server reporting services:
Group,
I would like to have a value (basically a scalar from a stored proc) in my
header but I keep getting the compile error:

'The value expression for the textbox 'LastSale' refers to a field. Fields
cannot be used in page headers or footers.'

I tried putting a subreport in the header and that does not work either. It
would be very limiting to not allow database data in the header of a report!
(Very easy to do in Crystal Reports)
Also keep in mind that I do not want my header in the 'body' region.

Thanks everyone.

Re: Data in Page Header... Ponnurangam
11/2/2004 12:11:46 PM
Place the field in any of the textbox(say textbox10) in body section

Then use =ReportItems!textbox10.value in pageheader section

Ponnurangam

[quoted text, click to view]

Re: Data in Page Header... Ponnurangam
11/2/2004 2:34:05 PM
Hi,

(1) You can have a textbox that exists for all pages(by making this textbox
visible false) or

(2) Try using Parameters

Hope this Helps

Ponnurangam


[quoted text, click to view]

Re: Data in Page Header... angi
11/2/2004 4:33:48 PM
Hi, Ponnurangam..

This way only can show the field value in first page,
the second page, cause the textbox doesn't exist,
so the value of reportitems become null...
I want the value of reportitems can keep in whole report,
no mattter report has how many pages!

Any idea about this?
Thanks!

Angi

"Ponnurangam" <ponnurangam@trellisys.net> ¼¶¼g©ó¶l¥ó·s»D
:eTA7VcKwEHA.2908@tk2msftngp13.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button