Cannot open my access database

  • Thread starter Thread starter Developer1
  • Start date Start date
D

Developer1

I accidently entered the DoCmd.Close command when I was
entering code into my Access form using the Code
Builder. I configured the database to automatically open
the form at startup. As a result, when I try to open the
application it automatically closes as a result. How can
I capture the object and edit the source code itself so
that it will open normally. The only thing that I need
to delete from the source code is the DoCmd.Close command.
 
Hold down the shift key when you open your database; it will bypass all
startup code/options.

hth,
 
Developer1 said:
I accidently entered the DoCmd.Close command when I was
entering code into my Access form using the Code
Builder. I configured the database to automatically open
the form at startup. As a result, when I try to open the
application it automatically closes as a result. How can
I capture the object and edit the source code itself so
that it will open normally. The only thing that I need
to delete from the source code is the DoCmd.Close command.

Hold down the Shift key when you start the database. That will suppress
the normal startup procedures -- unless you've disabled that option, of
course.
 
Back
Top