View Single Post
  #14  
Old May 26th, 2010, 12:04 PM posted to microsoft.public.access
Dirk Goldgar
external usenet poster
 
Posts: 2,529
Default Quit macro not working in runtime

"Owl" wrote in message
...
I did what you asked and opened the database with
no other objects open except a simple unbound form that has only a button
that invokes your Quit macro. It worked. However, I need the macro to
run
from the switchboard.



That strongly suggests that there is something going on, possibly in your
switchboard form, possibly in some other code that is invoked by your
switchboard or by an autoexec macro, that is causing the difficulty. What
is the nature of your switchboard form? Is it the same sort of switchboard
that is constructed by the Access switchboard wizard? Have you modified the
code behind it? You may need to post the code.

--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)