Showing posts with label username. Show all posts
Showing posts with label username. Show all posts

Friday, February 17, 2012

Display in pageHeader

Hi,

i got one problem. I want to show my username in pageHeader.when i drag and drop my value from dataset to pageheader its giving some error.

in Body its working.but i want show only in page header that username.

can any body help me.

kiran

common workaround for header errors occuring is this

create a textbox in your body, make it hidden in the textbox properties (hidden=true)

put the data you are interested in in the expression for the textbox

(e.g. in your case =User!UserID )

then in the header you can reference this as follows

= reportItems!<yourtextboxnamehere>.Value

|||there is also another way to display dataset value in Page Header/ Page Footer. It is that u do one thing that make one internal parameter for that field and put textbox in header/footer and go into expressions then click on parameter, u will get the list of parmeter select that parameter which u want.|||

Hi Thanx for reply. I know this one but actual problem is its not getting in my first page from 2 pages onewards only my user name is coming.because first header will come so first time no data. second time onwards its coming. i want to show in first page also?

thanx

|||You say that it is not appearing on the first page.

I'm only aware of the ability to supress after the first page and not the inverse of this.