SSRs fields cannot be used in page headers or footers

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.