I have a large report that I built in Report Builder 3.0. The report consist of several tablexes and several (800 - 1000) textboxes. When I get an error in an expression, the system says I have an error in Textbox205 for example. Is there an easy way to find "Textbox205"?
When using Visual Studio, at the top of the Properties window there is a drop down box with all the objects on your report in it. You can find and select the object in there.
One technique is to open the .rdl file in a text editor and Ctrl-F search for the text box name. This will take you to the xml attributes of the textbox, which usually allows you determine which textbox contains the problem.
I typically click any element and then start pressing tab till I find what I am looking for. The element name will be displayed in the properties window:
With Visual Studio, you can see the Document Schema (Ctrl + Alt + T) with View > Other windows > Document Schema. It will appear a window with a tree view of the full report.
You can right-click on the report(.rdl) and click "View Code". This opens the xml file in Visual Studio. You can search the number in the xml file.
© 2022 - 2024 — McMap. All rights reserved.