error

Who is online?  0 guests and 0 members
Home  »  Forums   »  microsoft business intelligence   »  reporting services   » error

error

Topic RSS Feed

Posts under the topic: error

Posted: 5/18/2012

Padawan 378  points  Padawan
  • Joined on: 4/3/2012
  • Posts: 189

hi

i really need to solve this error,

 

 

 The Value expression for the text box ‘txtReportDate’ refers to the report item ‘ReportDate’.  Report item expressions in a Page Header or Footer can only refer to report items within the same ReportSection. Letters in the names of report items must use the correct case.

 

 

not able to solve,

 

 

 


Posted: 5/18/2012

Jedi Master 2811  points  Jedi Master
  • Joined on: 2/19/2010
  • Posts: 406

What is the expression for text box ‘txtReportDate’  Is it in the Header or Footer?  It looks like there is a ReportItem in the expression in question, what part of the report is that ReportItem in: Header, body, footer?


Posted: 5/18/2012

Padawan 378  points  Padawan
  • Joined on: 4/3/2012
  • Posts: 189

its in the header,what i need to do


Posted: 5/18/2012

Jedi Master 2811  points  Jedi Master
  • Joined on: 2/19/2010
  • Posts: 406

I asked 3 questions and you gave me one answer.  One answer does not help me help you.

 


Posted: 5/18/2012

Padawan 378  points  Padawan
  • Joined on: 4/3/2012
  • Posts: 189

the expression is 

 

=Code.GetReportHeading1(ReportItems!ReportHeading1.Value

 

i have 1 textbox in header.

 

i dont know ho wto find that report item,the textbox is in the header


Posted: 5/21/2012

Jedi Master 2811  points  Jedi Master
  • Joined on: 2/19/2010
  • Posts: 406

This is a little odd because in your original post you say the error is related to a Report Item of ReportDate.  But in the code sample you provided here it refers to ReportHeading1.

In any case, let's start with the basics.  The ReportItem is a way to reference a text box somewhere on the report.  Typically you will see something like ReportItem!TextBoxNameHere.Value.  So since you state you do not know how to find the report item you should start looking for a textbox named either ReportHeading1 or ReportDate.  If there is only one text box in the header and it is not named ReportHeading1 or ReportDate, you need to find the the textbox that is named appropriately.  One additional thing you need to know is that "ReportItems" do not cross always report boundaries well and will frequently fail in this case.  Things such as groups and header, body, footer boundaries may give you some problems.


Posted: 5/21/2012

Padawan 378  points  Padawan
  • Joined on: 4/3/2012
  • Posts: 189

thanks daniel


Page 1 of 1 (7 items)