Announcements
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.
Hi Gunjan,
Thank you, it worked.
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); }
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.
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.
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
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
André Arnaud de Cal...
294,165
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator