× 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 Jim,
 
> We are having similar problems when a user switches from
> 1 current library to another and the service programs continue to use the
> files from the previous library.

Yes, this is also why I don't like to keep files open...

> Would it work to create only a "Close" procedure that closes all files used
> in the service program and call it whenever you exit the calling program
> (via LR or return).

Thanks for your suggestion.
I actually have coded some CloseFiles routines for usage with a series of 
serviceroutines I have recently created. But I'm not very happy to use this 
approach with lots of serviceprograms. It happened a few times to me that I 
forgot to define a call to a CloseFiles procedure of a serviceprogram that I 
used in the calling program.
So that is why I consider to create a serviceprogram that registers every 
serviceprogram and its CloseFiles procedure when the serviceprogram is called 
for the first time.
 
Best regards,
Arco Simonse

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.