cant enter database....HELP

K

Kelly

Ok, so I think I made really dumb mistake...as I was creating my switchboard,
still in the devlopment stage...I selected some buttons that got rid of my
tool bar and menu on the top...now I can't enter my data base, I just get the
switchboard page...is theer a command or anything to get me around that so I
can fix it...
 
A

Alex White MCDBA MCSE

Hold down the Either Shift button Before double clicking the mdb (make sure
access is not loaded) keep the button down until the database window
appears.
 
O

Ofer

If you want to enter the DB, hold shift key down while opening your DB, or
press F11 after it been open.
 
A

Arvin Meyer

Kelly said:
Ok, so I think I made really dumb mistake...as I was creating my switchboard,
still in the devlopment stage...I selected some buttons that got rid of my
tool bar and menu on the top...now I can't enter my data base, I just get the
switchboard page...is theer a command or anything to get me around that so I
can fix it...

Go to Modules Click on New and paste the following into it, then save the
module:

Option Compare Database
Option Explicit

Function ShowMenu()
On Error Resume Next
DoCmd.ShowToolBar "Menu Bar", acToolbarYes
End Function

Function HideMenu()
On Error Resume Next
DoCmd.ShowToolBar "Menu Bar", acToolbarNo
End Function

Function ShowToolBar()
On Error Resume Next
DoCmd.ShowToolBar "Form View", acToolbarYes
End Function

Function HideToolBar()
On Error Resume Next
DoCmd.ShowToolBar "Form View", acToolbarNo
End Function

'-----------
' End code

Now create a new form with 4 buttons. In the property sheet's click event of
the first one put:

=ShowMenu()

etc. for the other buttons.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
K

Kelly

Thank you, Thank you... I thought I would have to recreate the
database...what a cool little trick... that is one that I definately need to
keep on hand.... I fixed now to the way I want it....
 
A

adsl

Kelly said:
Ok, so I think I made really dumb mistake...as I was creating my
switchboard,
still in the devlopment stage...I selected some buttons that got rid of my
tool bar and menu on the top...now I can't enter my data base, I just get
the
switchboard page...is theer a command or anything to get me around that so
I
can fix it...
 
A

adsl

Kelly said:
Thank you, Thank you... I thought I would have to recreate the
database...what a cool little trick... that is one that I definately need
to
keep on hand.... I fixed now to the way I want it....
 
A

adsl

Arvin Meyer said:
Go to Modules Click on New and paste the following into it, then save the
module:

Option Compare Database
Option Explicit

Function ShowMenu()
On Error Resume Next
DoCmd.ShowToolBar "Menu Bar", acToolbarYes
End Function

Function HideMenu()
On Error Resume Next
DoCmd.ShowToolBar "Menu Bar", acToolbarNo
End Function

Function ShowToolBar()
On Error Resume Next
DoCmd.ShowToolBar "Form View", acToolbarYes
End Function

Function HideToolBar()
On Error Resume Next
DoCmd.ShowToolBar "Form View", acToolbarNo
End Function

'-----------
' End code

Now create a new form with 4 buttons. In the property sheet's click event
of
the first one put:

=ShowMenu()

etc. for the other buttons.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top