Ted Roche wrote:
If you were printing more than one invoice at a time, you could use the
NEXT 1 scope on the first REPORT command to execute the report once for
each record.
* Pseudocode
SELECT Blah, foobah, whatsit FROM THis, That, TheOtherThing WHERE .T. INTO
CURSOR Z
SELECT Z
SCAN
REPORT FORM MyInvoice NEXT 1 TO PRINTER NOCONSOLE NOPAGEEJECT
REPORT FORM TermsNConditions TO PRINTER NOCONSOLE
ENDSCAN
I should have mentioned that invoices can be more than one page (I have
seen 7 page ones) so running the invoice report to a duplex printer
will do the normal invoice duplex then follow with the terms, which may
or may not be a sheet on its own. That is not what they want. We do
also print more than one invoice at once.
I can get the disired result for one page invoices by putting the terms
in the summary band but it does not work for multiple page invoices.
With these you are breaking into the detail band output to put in some
terms then return to detail band.
Will carry on trying to figure out the report listener.
Thanks,
Peter
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.