LlPrintWillMatchFilter

Syntax:

INT LlPrintWillMatchFilter (HLLJOB hJob);

Task:

Specifies whether the present data record matches the filter chosen by the user, i.e. whether it will be printed with the next LlPrint() or LlPrintFields() function.

Parameter:

hJob: List & Label job handle

Return Value:

<0: Error code
0: Not printed
1: Printed

Hints:

This function can only be called after LlPrintStart() or LlPrintWithBoxStart().

The function calculates the filter value using the currently defined data (variables or fields).

Example:

if (LlPrintWillMatchFilter(hJob))
   ....

See also:

LlPrintGetFilterExpression, LlPrintDidMatchFilter