David Turnidge wrote:
When "Remainder" = 0, output a *STATUS message showing the percentage of the
process that is complete. So, when I load my subfile, or print the subfile,
the user can see how close they are to being done.
Cool... you only want to send the message when the percentage changes, rather than every record.

So do this:

if P_Percent <> LastPercentShown;
exsr SendMessage;
LastPercentShown = P_Percent;
endif;

That ought to do it for you!

Joe



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2025 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.