On 11/2/2017 5:07 PM, Vernon Hamberg wrote:
statement of those invoices - separate programs
If you could pack these two business functions into a single program,
the DDS DRAWER() keyword would do exactly what you want. Pull invoices
from one drawer, statements from another. If separator pages are
desired, they can come from a third drawer.
An alternative is to slightly alter the printing programs to print
papers for exactly one customer. They get called by a driver that feeds
customer numbers one by one:
CALL DRIVER
FETCH NEXT CUSTOMER
CALL STATEMENT (customerID)
write DRAWER1
...
CALL INVOICE (customerID)
write DRAWER2
...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.