Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

variable fields are not printed on RDLC report

(0) ShareShare
ReportReport
Posted on by 72

Hi Team,

I have created an sales register report and added filter for start date and end date based on posting date on request page.When i run the report the data is working properly as per start date and end date based on filter condition ,but in report header the variable fields which i have use are not displayed and when i remove code for filter then these fields are displaying properly.Can anyone help i want to display the fields in Report Header in case of filter.I have use below filter on predataitem of cust.legder entry.

Cust.ledger Entry("Posting Date,startDate,EndDate);

  • Suggested answer
    Binesh Profile Picture
    7,885 on at
    RE: variable fields are not printed on RDLC report

    Hello,

    In report header direct variable/column fields are not working, you should first get it in the table header and then

    in report header call this field something like

    ReportItems!Textbox1.Value

    Here TextBox1 is a table header cell name, also make sure table field/row should hidden true.

  • Suggested answer
    Jyotsna NAV Profile Picture
    585 on at
    RE: variable fields are not printed on RDLC report

    Hi,

    When you assign the Posting Dates, pass the Start and End Date to 2 global variables and use that to display in your report.

    Regards

    Jyotsna

    jyotsnanav.blogspot.com

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 367 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 242

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 226 Most Valuable Professional

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans