LlPrintDidMatchFilter

Syntax:

INT LlPrintDidMatchFilter (HLLJOB hJob);

Task:

Specifies whether the last data record printed matched the filter provided by the user, i.e. if it was really printed.

Parameter:

hJob: List & Label job handle

Return Value:

<0: Error code; 0: not printed; 1: printed

Hints:

This function can only be called after LlPrint() / LlPrintFields().

Example:

ret = LlPrint();
if (ret == 0 && LlPrintDidMatchFilter(hJob))
   ++ nCountOfPrintedRecords;

See also:

LlPrintGetFilterExpression, LlPrintWillMatchFilter, LL_NTFY_FAILS_FILTER-Callback