j***@gmail.com
2007-05-25 00:38:52 UTC
I've been reading and re-reading the posts concerning placing dataset
fields into headers and footers. I use reporting services 2000. The
best answer I got was the hidden field being referenced in the header
and footer. But what happens if that field exists only on the first
page? I'll tell you what happens: page 2 through page N get
nothing!!!! <rant>The only answers I ever read from microsoft were
pure BS answers designed solely to protect the back of a development
team that clearly released a faulty product and doesn't want to answer
for it.</rant>
My report has a list.
In the list are three tables. each of them has a page-break after
them
my report has a footer
In the footer is demographic information about the person whose
data appears in each of the three tables.
I have tried BS suggestion #1: set a hidden field in the list and
reference it in the page footer using the First(ReportItems!
<fieldname>) notation. Result: nothing in the footer on page 2
through N
I tried BS suggestion #2: set a hidden field in the details section of
each table and reference it using the First(ReportItems!<fieldname>)
notation. Of course, I can't reuse field names, so I created them as
tbPatName, tbPatName2, and tbPatName3. In the footer, I created the
Patient field as "=First(ReportItems!tbPatName.Value) &
First(ReportItems!tbPatName2.Value) & First(ReportItems!
tbPatName3.Value)", knowing that the blank ones would just not return
anything. Result: "An expression in a page header or footer can refer
to only one report item." Huh?!? Why?!?
I tried BS suggestion #3. Copy the entire complex footer from the
page footer to the table footer for each table. Result: All three
pages had footers, but none of the footers were on the bottom of the
page, where a page footer should be.
I've spent 2 days on this report and all but about 2 hours of that
time was just wresting with the stinkin' footers.
Does anyone have an intelligent suggestion other than the above BS
answers?
Incidently, there is absolutely, positively no possibility of
upgrading to sql 2005 just to get a single report correct, so please
don't suggest it. I need a sql 2000 solution.
Thank you kindly. Please respond to ***@nospam_m2is.com with
any suggestions. (be sure to remove the no spam section from that
address, first)
fields into headers and footers. I use reporting services 2000. The
best answer I got was the hidden field being referenced in the header
and footer. But what happens if that field exists only on the first
page? I'll tell you what happens: page 2 through page N get
nothing!!!! <rant>The only answers I ever read from microsoft were
pure BS answers designed solely to protect the back of a development
team that clearly released a faulty product and doesn't want to answer
for it.</rant>
My report has a list.
In the list are three tables. each of them has a page-break after
them
my report has a footer
In the footer is demographic information about the person whose
data appears in each of the three tables.
I have tried BS suggestion #1: set a hidden field in the list and
reference it in the page footer using the First(ReportItems!
<fieldname>) notation. Result: nothing in the footer on page 2
through N
I tried BS suggestion #2: set a hidden field in the details section of
each table and reference it using the First(ReportItems!<fieldname>)
notation. Of course, I can't reuse field names, so I created them as
tbPatName, tbPatName2, and tbPatName3. In the footer, I created the
Patient field as "=First(ReportItems!tbPatName.Value) &
First(ReportItems!tbPatName2.Value) & First(ReportItems!
tbPatName3.Value)", knowing that the blank ones would just not return
anything. Result: "An expression in a page header or footer can refer
to only one report item." Huh?!? Why?!?
I tried BS suggestion #3. Copy the entire complex footer from the
page footer to the table footer for each table. Result: All three
pages had footers, but none of the footers were on the bottom of the
page, where a page footer should be.
I've spent 2 days on this report and all but about 2 hours of that
time was just wresting with the stinkin' footers.
Does anyone have an intelligent suggestion other than the above BS
answers?
Incidently, there is absolutely, positively no possibility of
upgrading to sql 2005 just to get a single report correct, so please
don't suggest it. I need a sql 2000 solution.
Thank you kindly. Please respond to ***@nospam_m2is.com with
any suggestions. (be sure to remove the no spam section from that
address, first)