Pre-Filtering the Calendar
Posted: Sun Jun 26, 2011 1:23 pm
Since making the change to hosting my solution on FileMaker Server, I have become more acutely aware of the potential benefits of pre-filtering my events database (which has ~35,000 events spanning multiple years worth of appointments.)
I have reviewed the documentation relevant to using filters (http://www.seedcode.com/pmwiki/pmwiki.p ... ar.Filters). I am hopeful that the last section ("Can I pre-filter the calendar so it starts up already filtered?") would reduce the number of records and speed up the start up time when I first load the solution. I am trying to pre-filter the events based on the date field so that it will only look at records occurring since 1 year prior to the current date.
I see the "Pre-Filter the calendar if necessary" near the end of the "Load Calendar Settings - On Startup --- Edit Configuration Here ---" script but I am not sure where I am supposed to enter the criteria (e.g. DateStart > Get ( Current Date ) -365.) The documentation suggests that I am to edit the first entry of the pair of script steps in order to set the value to be filtered but the documentation does not indicate where to set the filter criteria.
I look forward to any guidance that you may provide.
JLKochJr
I have reviewed the documentation relevant to using filters (http://www.seedcode.com/pmwiki/pmwiki.p ... ar.Filters). I am hopeful that the last section ("Can I pre-filter the calendar so it starts up already filtered?") would reduce the number of records and speed up the start up time when I first load the solution. I am trying to pre-filter the events based on the date field so that it will only look at records occurring since 1 year prior to the current date.
I see the "Pre-Filter the calendar if necessary" near the end of the "Load Calendar Settings - On Startup --- Edit Configuration Here ---" script but I am not sure where I am supposed to enter the criteria (e.g. DateStart > Get ( Current Date ) -365.) The documentation suggests that I am to edit the first entry of the pair of script steps in order to set the value to be filtered but the documentation does not indicate where to set the filter criteria.
I look forward to any guidance that you may provide.
JLKochJr