Customer.SETRANGE("Date Filter",0D,OpDate-1);
Customer.GETRANGEMIN("Date Filter");
Customer.SETRANGE("Date Filter",0D,OpDate-1);
Customer.GETRANGEMIN("Date Filter");
0D = blank date = from the beginning of time
Customer.SETRANGE("Date Filter",0D,OpDate-1);
basically saying filter date from the beginning upto OPDate-1
But What 0D suggest
blank Date ?
The first statement is applying the filter on Date Filter field and the second statement is used to retrieve the minimum value of that filter.
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,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156