Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to show field grid value based on fromdate / todate date controls on a form

(3) ShareShare
ReportReport
Posted on by 233
Hello,
I have 2 fields on a custom form, fromdate and toDate. and in my grid i have multiple fields. one of them is invoiceDate. i want the value of the FromDate and toDate to show values of range selected in invoiceDate field, and to show all records that are between those date ranges. if anyone can give me the steps/ codes needed. thank you
Categories:
  • Martin Dráb Profile Picture
    231,895 Most Valuable Professional on at
    How to show field grid value based on fromdate / todate date controls on a form
    Do you mean that you aren't familiar with F&O development at all, or do you have a particular problem with this requirement and you just forgot to explain the problem?
     
    For example, maybe you know how to add a range for a single value but not how to use a range of two fields.
     
    I understand the requirement "to show all records that are between those date ranges" but "i want the value of the FromDate and toDate to show values of range selected in invoiceDate field" doesn't make sense to me.
  • ISDev Profile Picture
    233 on at
    How to show field grid value based on fromdate / todate date controls on a form
    Hi @Adis,
     
    yes thats exactly my requirement, but i need a code or documentation for this 
  • Adis Profile Picture
    3,050 Super User 2025 Season 1 on at
    How to show field grid value based on fromdate / todate date controls on a form
    Hi,
     
    You can check this standard form "Ledger settlements" which works in a similar way. Maybe it can give you a clue how to implement it for your custom form.
    It works in such a way that when you enter the from\to date in the filter area, the dates are reflected on the column "Date". However, in this form, it is not possible to change the column dates, so that the form is being filtered correctly, nor are the dates from the columns reflected in the filters.
     
     
    Kind regards, Adis
     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

     
     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,150 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,895 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans