A very useful tip - thanks Alastair David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261 ----- Original Message ----- From: "Alastair Burr" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Saturday, September 10, 2005 3:51 AM Subject: [RBG7-L] - Re: Quit, Exit, Return?
> Dennis, > > A while ago I had problems closing R:Base cleanly, that is without flashing > the background screen of the R:> or whatever was open, and was advised by > RDCC to use a form. > > I created a form that simply says "Closing R:Base..." but I presume that > there is no reason to display anything or to make it so small that it can't > be seen. > > The form, RBExit, based on Dummy table with 1 row is now called with: > > EDIT USING RBExit WHERE COUNT = 1 > > It has an "On After Start" EEP: > > CLEAR ALL VARIABLES > PAUSE FOR 1 > EXIT > RETURN > > This seems to work pretty well. Sometimes I still get a flash of the > background screen but that may just be when my PC's memory is low. > > I don't know if this is relevant to you but Razzak may like to know: > > Since, I think, RC10 though to the current RC12 there has been a significant > change in closing a second instance of R:Base. Previously the second > instance often hung which meant that control was not passed back to the > first instance so that did nothing until the second instance was "killed". > (It was "launched" using the wait option.) > > Now the second instance appears on the StartBar as a running program so it > can be seen and it hangs when closing much less often. > > I haven't knowingly changed anything and I can't work out any reason why the > second instance should hang. In my case, the first instance cycles through a > backup process that backs up a number of databases to the hard disk and then > to a Zip disk using the RELOAD command and then the BACKUP command - so 4 > processes for each database each opening, running and then closing the > second instance in turn. There's selection choice of up to 5 databases and > any of the up to 20 times the second instance of R:Base closes it may hang. > I used to get regularly 3 or 4 hangs in the cycle but now I might get only 1 > and then only infrequently. > > The above form is used to exit. When R:Base hangs it _appears_ to be after > the form disappears from the screen. Whatever the cause the improvement is > much appreciated. > > Regards, > Alastair. > > > > > > ----- Original Message ----- > From: "Dennis Fleming" <[EMAIL PROTECTED]> > To: "RBG7-L Mailing List" <[email protected]> > Sent: Friday, September 09, 2005 8:44 PM > Subject: [RBG7-L] - Quit, Exit, Return? > > > > In order to close my app I use to Quit to Exit.rmd file (Disc, > Closewindow, > > Return). > > In earlier versions there was a problem with the Exit command and I seem > to > > have run into it again. Replacing Exit with Return seems to do the trick. > > (???) Since it's a Quit To Filename then Return takes you to an R> or if > > Runtime it just closes. > > Any recommended exiting suggestions appreciated. > > > > TIA, > > > > Dennis > > ***** > > > > Dennis Fleming > > IISCO > > http://www.TheBestCMMS.com > > Phone: 570 775-7593 > > Mobile: 570 351-5290 > > > > --- RBG7-L > ================================================ > TO POST A MESSAGE TO ALL MEMBERS: > Send a plain text email to [email protected] > > (Don't use any of these words as your Subject: > INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, > REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) > ================================================ > TO SEE MESSAGE POSTING GUIDELINES: > Send a plain text email to [email protected] > In the message SUBJECT, put just one word: INTRO > ================================================ > TO UNSUBSCRIBE: > Send a plain text email to [email protected] > In the message SUBJECT, put just one word: UNSUBSCRIBE > ================================================ > TO SEARCH ARCHIVES: > Send a plain text email to [email protected] > In the message SUBJECT, put just one word: SEARCH-n > (where n is the number of days). In the message body, > place any > text to search for. > ================================================ > > >
