Page 1 of 1

Calculating the Date Range being viewed.

PostPosted: Fri Sep 09, 2011 12:36 pm
by stevecarter
I'm writing a report that will generate a detail event list of calendar items for the filter used and the date range being displayed. So right now... I can filter the event details based on the global filter being used but I can't seem to figure out if the week or month view is being displayed how to determine the start of that week or month and what's the end date. (well I guess I could figure out what the end date is if I knew the start date.

Is that information stored in a variable somewhere?

Re: Calculating the Date Range being viewed.

PostPosted: Mon Sep 12, 2011 6:46 am
by JasonYoung
Hi Steve,

We store the current date ranges in global Fields:

CalendarRows::DateRangeStartAutoGlob

CalendarRows::DateRangeEndAutoGlob

DataViewer.png
DataViewer.png (36.72 KiB) Viewed 3302 times


-Jason

Re: Calculating the Date Range being viewed.

PostPosted: Mon Sep 12, 2011 9:17 am
by stevecarter
Thank you!!!