Acquiring Filters

After clicking Acquire Filter this popup will appear. It has several fields and buttons

Program *

Allows the user to select the part of the program that the plugin needs to access. The program selected will filter down which modules will appear in the module list

Module *

Allows the user to select the module this plugin is for. Selecting the module causes the program to begin building the filter

Use or Modify an Existing Filter

This allows users to select a filter that was saved in the selected Module in Lucity Desktop or Web.

Database Syntax

This displays the current SQL Statement that the filter will use. This will appear whether the user is manually writing the SQL or has selected a saved filter.

Select reserved word

Allows the user to select a reserved word to use in the filter. Reserved words can be used to add specific types of dynamic data to the filterset.

Example: If you wanted to show today's work orders you could create a filter that said: SELECT * FROM WKORDER WHERE WO_STRT_DT = '9/26/2012'. On September 26 it would show all the work orders for that day, but this wouldn't be useless on any other day, and would have to be changed daily to be useful. However, using reserved words you could create this filter SELECT * FROM WKORDER WHERE WO_STRT_DT = '%CURRENTDAY%'. Every day the SQL would change to reflect the current day, and only show work orders for that day.

Test "Where"

This tests if the SQL statement's "Where" clause is valid, and tells how many records that filter returns.

OK

Saves the filter and closes this window

How To Add a filter to a plugin

How To Use a Reserved Word



In This Section

Sample Advanced Filters

See Also

Plugins

Asset Hierarchy Trees

Crystal Reports

Data Drills

RSS Feeds

Map