Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

RDLC - Report item expressions can only refer to report items within the same ReportSection.

Posted on by 5
Hello,
 
I'm working on editing reports and encountered an issue I havn't been able to solve yet. I have a report, a standerd CMR report and want to delete some columns.
 
 
I first noticed the hidden values.
 
 
In the header a value named /Value_CustomerAddress_5/ exists, added with custom expression.
 
 
The ISSUE: I noticed that the hidden values in the table and the value in the header are correlated but don't know why. When I delete the column the expression breaks and when I test the report an error appears:
/Rendering output for the report failed and the following error occurred:
The Value expression for the text box ‘Value_CustomerAddress_5_Header’
refers to the report item ‘Value_CustomerAddress_5’. 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./
 
 
if you need any more context, ask away. A thank you in advance.

- Albert
  • Suggested answer
    Steven Renders Profile Picture
    Steven Renders 5,051 Super User 2024 Season 1 on at
    RDLC - Report item expressions can only refer to report items within the same ReportSection.
    If you don't understand RDLC, then do not delete columns ;-)
    ReportItems is the collection of all textboxes in the Body of the report. You can use it to show a value from a textbox in the Body of the report on the Header of the report, because the report header can not reference the dataset directly. Deleting the textbox breaks the expression.
     
    Want to know/learn more?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,472 Super User 2024 Season 2 on at
    RDLC - Report item expressions can only refer to report items within the same ReportSection.
    Hi, please do not delete these columns directly, this will cause problems. I think the following operation may also cause problems. But you can try hiding it first.
    PS: This is one of the things that makes the RDLC unpopular ......
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans