|
Hi Rob,
I suppose I could imagine some silly application that wrote order lines out before writing the order header out. Their thinking that they could then write the total of the order in the order header when you are all done doing data entry.
For applications like that, I typically store everything in an array until everything is done. Data structure arrays work very nicely for this. They also make it easy to pass the data between subprocedures and into/out of service programs. Since it's all in memory, I write it all out at once.
So, if that's the problem, I'd recommend fixing the application rather than working around it by monitoring for the emulator closing.
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.