Cannon has a great suggestion which would certainly help get over some of the challenges of coding for Preemptive Processing.
Static Variables. Set up at run time. Can never be changed but can vary from runtime to runtime. As distinct from contants which are compiled and can not be changed from user to user. Examples: Directory separator, or data that identifies the current client / customer / user e.g. licensing info or information related to localization etc. They would have to be declared before On Startup. (because in theory the On Startup method could access them.) Mitch ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

