Harvey,
>Couple of questions
>You said
>> oRpt:bWhile := {|| ! eof() }
>Are you suggesting modify the xbrowse class?
No.
>How does the !eof() get the print to stop at end of filter and not print extra pages?
Because eof() respects filters and ordKeyCount() apparently doesn't.
>I think you are going to have to use the report setup method (that was discussed in another message thread) to change the oRpt:bWhile codeblock. Try using:
>I can't find the thread. Could you send me a link.
Try something like this:
DEFINE BUTTON OF oBar PROMPT 'Print' ;
ACTION oBrw:Report( 'TestReport', , , ;
{ |oRep| oRpt:bWhile := {|| ! eof() } } )
>BTW are you and I the only people on this site from Calif?
Tim Stone is also up there in the LA area somewhere--I forget exactly. There are only the three of us in CA that I know.
Regards,
James