NextDateRange ( StartDate ; TimePeriod ; WholePeriod ; FindPrevious )
Generate Date Ranges for Creating Daily, Weekly, Monthly, or Yearly Reports
Be the first to rate this function Log in to vote
Kyle Williams - Show more from this author
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
When creating reports, date ranges can be a little challenging. Using this custom function, I am able to easily generate the start and end dates for the next line item in the report. This can be set up to find the first and last dates of every month by entering a 1 for "WholePeriod" otherwise it will use the current date. Depending on the direction of the report you can get the range for the next period or the previous period.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.