To add filters, follow these steps:
- On the Design node, right-click on Design and choose New | Group.
- Move it to the top (Alt + Arrow is useful) and apply the Workspace Page Filter Group pattern. Name it WorkspacePageFilterGroup.
- Add a new String control and name it VehicleGroupFilter. Change the Extended Data Type property to ConVMSVehicleGroupId and set Auto Declaration to Yes.
- Expand Methods and double-click on ClassDeclaration.
- We need to tell the form engine that this workspace now implements the SysIFilterProvider interface. Change the declaration so that it reads as follows:
public class ConVMSVehicleWorkspace extends FormRun implements SysIFilterProvider
- We need to declare a change event handler on the form that ...