When developing custom forms where the underlying table of a forms data source is a date effective table, a date filter control is automatically generated at run time. Although the control is added automatically, there is still some code that is required on your form in able for the filter to function correctly. This post explains how to do this.

  1. The form declaration must include “implements IDateEffectivenessPaneCaller”
  2. Add the following global variables of your form:
  3. Add the following methods to your form:

  4. Add the following code to the “init” method of your form:
  5. Add the following event handler methods to your form: