Created On:  12 October 2010

Problem:

In DocFactory2 is it possible to specify certain criteria to include/exclude in the $FILTER syntax?

Resolution:

You can use the 'IN' or 'NOT IN' keywords within the $FILTER line

Please see the example below:

$MULTIPLE_PROJECT
$BEGIN_SECTION
$FILTER{criteria_name:FunctTest}
$FILTER{hierarchy IN (‘1.1’, ‘2.1’, ‘3.1’, ‘4.1’, ‘5.1’, ‘6.1’, ‘7.1’, ‘8.1’, ‘9.1’, ‘10.1’, ‘11.1’, ‘12.1’, ‘13.1’, ‘14.1’, ‘15.1’, ‘16.1’, ‘17.1’, ‘18.1’)}
$SORT{type,hierarchy}
<> <> <> <>
$END_SECTION