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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

GetRangeMin

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

  I have C/Al Date Global variable on  Request Page in a report . I want to get its GetRangeMin,GetRangeMax.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Unclear question: however the methods are as follows:

    GETRANGEMIN:

    [View:https://msdn.microsoft.com/en-us/library/dd301207.aspx]

    GETRANGEMAX:

    [View:https://msdn.microsoft.com/en-us/library/dd338625.aspx]

  • Suggested answer
    Andrey Baludin Profile Picture
    3,941 on at

    If you mean that you want to create date filter range after input on report request page - you can make it with Application management (Codeunit 1) :

    ApplicationMgt.MakeDateFilter(DateFilter);

  • Suggested answer
    Suresh Kulla Profile Picture
    50,249 Super User 2025 Season 2 on at

    You cannot use on a variable use a flowfilter or create a new flowfilter and use those functions on that field.  Or use two separate fields for Start Date and EndDate and then build the Date Filter.

  • jsshivalik Profile Picture
    3,099 on at

    Hi

      I have below code it is giving error A variable is required. I have defined RRDt as Date Datatype. User enters Date on request Page.

             IF (RDate >= GETRANGEMIN('RRDt')) AND  (RDate <= GETRANGEMAX('RRDt')) THEN BEGIN

  • Suggested answer
    Suresh Kulla Profile Picture
    50,249 Super User 2025 Season 2 on at

    You cannot use GETRANGEMIN on a variable it should be on Record Variable of that field. Rec.GETRANGEMIN("Posting Date")

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans