Hi All,
I'm trying to get the report to output a specific no. of lines (20) by using this filter
expression on the pass-through cursor:
set filter to recno()=^((_pageno-1)*20)+1 .and. recno()v=(_pageno*20)
placed in the On Entry field of the header (it's actually a call to an external .prg
because the field won't accept it).
It works fine on the first page, but that's (obviously) as far as it gets. If I place a
SET FILTER TO statement in the footer, or anywhere else for that matter, it
fires before the page runs, so I'm back to square one. Where can I place the
SET FILTER TO statement such that it fires after a given page runs, but before
the next page runs? Or better still, is there somewhere I can place that expression
in the report so that it works.
Thanks.
Luke