Problem Environment: SSRs 2005 report development
The following error occurs when you try to use the data set field in the page header:
The value expression for textbox ''refersto a field. fields cannot be used in page headers or footers.
Solution:
1. Enter a text box named text1 on the page body page and assign values using the data set field.
2. Drag a text box into the page header and use reportitems to display the text value of step 1. The expression is reportitems. text1.value.
3. Hide text1 of step 1 to solve the problem.
For more information about reportitems, see: http://msdn.microsoft.com/zh-cn/library/dd255285.aspx
In version 2008 or later, you can drag the data set field into the page header without this error.
This article is from the "follow SQL Server Technology" blog, please be sure to keep this source http://lzf328.blog.51cto.com/1196996/1438925