× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Mike -

>The thing is, this report file has all of our customers in it.
>It looks like I'll have to come up with some multiple file
>handling stuff.

You could read through the file, saving all the lines from the beginning of
a page until you reach the point where you know who the customer is.  Write
the fax number to a new file.  Write the lines you have saved, then just
read and write until you reach a new page.

The new file will contain everything in the old file plus all of the
different fax numbers that you need.

If you don't want to buffer up the lines, you could save the RRN of the
first line of the page in your input file and go back to that point after
inserting the fax number.

Unless the fax program requires a separate file for each customer, there is
no need to do it that way.

Ken
Southern Wine and Spirits of Nevada, Inc.
Opinions expressed are my own and do not necessarily represent the views of
my employer or anyone in their right mind.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.