web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Populate the Date Field Parameters based on another field.

(0) ShareShare
ReportReport
Posted on by 47

Hi all,

I am developing a SSRS Report, I am using Four Parameters on which the report will be generated, Contract Id, Journal Id, Fromdate and Todate.

When i will select any Journal ID, then the from date and to date should be auto populated based on the from date and the to date of the particular Journal. The Fromdate and Todate are read only fields and should only be auto-populated based on the date of the Journal. 

I searched but all the posts are related to auto population of dates based on other dates only.

Can anyone provide my any idea or solution how to get it.

Any help will be appreciated.

I have the same question (0)
  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Deeksha,

    You will need to implement a UI builder class as well. You might be able to try something like what's done in this post

  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Deeksha singh,

    You do need to implement the uibuilder class, and link it to your data contract by SysOperationContractProcessingAttribute.

    Please check this: community.dynamics.com/.../ssrs-report---field-modified-method

  • Deeksha singh Profile Picture
    47 on at

    Hi,

    Thanks for the quick reply, but the methods which are used in the post which you shared are giving permission to modify other fields, i need to populate my date fields fromdate and todate based on the journal which i choose from the lookup parameter.

  • Deeksha singh Profile Picture
    47 on at

    Hi Blue wang,

    I created a Ui builder class for it and linked it to my data contract class as the other two parameters are having value in lookup and the value which will be selected from the journalid lookup, that journal from date and to date should get populated in the fromDate and ToDate Parameter fields. I am not able to achieve that using the above post.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Deeksha,

    You can set the values as well. Set the dialogField values like this (in the UI builder) -

    private void modifyDialogFields()
    {
        df_FromDate.value(fromDate);
        df_FromDate.value(toDate);
    }

  • Deeksha singh Profile Picture
    47 on at

    Hi Gunjan,

    Thank you, it worked.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 521 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 438

#3
Adis Profile Picture

Adis 261 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans