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
You cannot use GETRANGEMIN on a variable it should be on Record Variable of that field. Rec.GETRANGEMIN("Posting Date")
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
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.
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);
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]
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156