View Single Post
  #54  
Old April 14th, 2007, 08:27 PM posted to microsoft.public.access
David W. Fenton
external usenet poster
 
Posts: 3,373
Default Persistanct connections

Tom Wickerath AOS168b AT comcast DOT net wrote in
:

"David W. Fenton" wrote:

But you could avoid having to do that by checking a Boolean
CloseOK flag in the Switchboard's OnClose event, and cancelling
if it's not been set TRUE. Then you'd set it to TRUE in the code
behind the button that closes your app. That way, all your code
preventing the closing of your switchboard form would be *in* the
switchboard, not partly in it and partly in an AutoKeys macro.


True. That's a better way of accomplishing the same thing, and,
come to think of it, I have used that method one time before, a
long time ago.


So, have I now successfully bludgeoned you into agreement on all
points?

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/