How To use the Advanced Filter tab
Note: Users should have a working knowledge of SQL before attempting to use Advanced Filters. For most users, the Build-A-Filter screen will be sufficient.
Note: Filters saved from the Advanced tab will be saved as Advanced Filters. This designation may means that only NON-Advanced Filters can be re-displayed in the Build-A-Filter screen.
Reserved Words
Example: A user wants a filter of all the work that was completed in the last week. They could create a filter that said:
SELECT * FROM WKORDER WHERE WKORDER.WO_END_DT >= '6/18/2012' AND WKORDER.WO_END_DT <= '6/22/2012'
However, this would be out of date the next week, and the user would have to adjust the dates. Using the %PREVIOUSWEEK% reserve word they could create a filter that said
SELECT * FROM WKORDER WHERE WKORDER.WO_END_DT = %PREVIOUSWEEK%
This filter would the work orders with an end date during the week previous to it being run.
Note: When using the reserved words above, enter them in all uppercase letters and enclose them in percent symbols (%)