Field 'xxxx' not found.
Posted: Thu Nov 02, 2006 2:06 am
We have a banner page that we print as a first page in all of our reports. This page basically captures some custom information about the report being printed. The way we designed this was to place a bunch of variables on the report and then call these APIs to set the values of those variables: -
Dim BannerPage As StiReport = New StiReport
BannerPage.Load("BannerPage.mrt")
BannerPage.Compile()
BannerPage("ReportName") = report.REPName
BannerPage("OutputFieldSetName") = report.OutFieldSet.OFSName
What we are noticing is that if we run the report 2 or 3 times, we run into this "Field OutputFieldSetName not found" error. I debugged and I do see Dictionary property of the StiReport, having a variable of name 'OutputFieldSetName', so I am not sure why We are getting the Field not found error.
Any help will be greatly appreciated.
Narinder
Dim BannerPage As StiReport = New StiReport
BannerPage.Load("BannerPage.mrt")
BannerPage.Compile()
BannerPage("ReportName") = report.REPName
BannerPage("OutputFieldSetName") = report.OutFieldSet.OFSName
What we are noticing is that if we run the report 2 or 3 times, we run into this "Field OutputFieldSetName not found" error. I debugged and I do see Dictionary property of the StiReport, having a variable of name 'OutputFieldSetName', so I am not sure why We are getting the Field not found error.
Any help will be greatly appreciated.
Narinder