I miss used Cmd.Quit Cant get in

  • Thread starter Thread starter Patrick Graham
  • Start date Start date
P

Patrick Graham

I tried setting up a function to run when the database
opened via a shortcut that threw a /cmd switch.

But I couldn't get the short cut to accept the /cmd "Gino"

Switch so DUMBLY I removed the switch requirement from my
function. Now my databse opens exports a report and then
closes.

I CANT STOP IT BEFORE IT CLOSES. I CANT DO ANYTHING NOW :(

Can some one help this dummy out? How do I open it with
out the macro running?
 
Hold down the shift key while opening the database - that will bypass any
code that runs when the database opens.
 
NOPE didnt work.

I think it didt work cause the Code which has DoCmd.Quit
is a function where as the Macro is Autoexec. So perhaps
the code is run before the shift feature comes into
effect.

If I imported another module into the database with the
same function name would that cause an error letting me
ee the code?
 
HA!!! I did it.

I imported a function into the database under a different
module but with the same function name so it caused an
ambiguity error and halted the code.

Im no dummy.
 
Back
Top