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. The following explains how to do this.

  1. The form declaration must implement the “IDateEffectivenessPaneCaller”

  2. Add the following global variable of your form:

  3. Add the following methods to your form:

  4. Add the following code to the “init” method:

  5. Add the following event handler methods: