bw said:
I put a bound text box in the header, and it displays the correct
value. I put a bound text box in the footer, and it display the wrong
value.
It's not "wrong". It's just not the value you want (important
distinction).
The Page Header and Footer are not specifically tied to the structure
of your data. The detail section is tied to a each single row of
data. Group header/footers are tied to when the grouped by data
fields change. The report header/footers are logically tied to the
entire record set since they essentially "wrap" the data from the
front and back.
By contrast the page header/footers are tied to what? The size of
paper you happen to use, not the data. So when you place a bound
control into these sections you will get the data from whatever row in
the detail section happens to be "current" when that section is
processed. That will not be the same record at the bottom of a page
as it is at the top of the page.
I have tried to set the footer's text box expression as you
suggested,
but I'm not having any success, as I keep getting errors like #Name
or
#Error.
My control in the header is lblTF, with a record source of TF.
Could you please show me the correct syntax for the control in the
footer?
so your ControlSource was...
=[lblTF]
...correct? I have neve tired to do anythign like this. You might
have to use code in the Page event to set the value of the footer
TextBox.