Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Away to hide access tool bars??? 1

Status
Not open for further replies.

JavaToPerlNowVB

Programmer
Jul 14, 2005
84
US
Is there away to hide access tool bars and menues when i bring up forms and reports. I am new to access so don't get mad at me for question like this....
thanks alot
 
Go to Tools then Startup, and select what you do or don't want to appear. But be careful! You may need these while developing your DB. It's best to do this as a last step in finishing your project.

A second method is to make your forms fill the entire screen; then the menus and tool bars will be hidden.

Hope this helps!

The Missinglinq

There's ALWAYS more than one way to skin a cat!
 
How's it going Java? Put this code in the "On Open" event of your form.
'Code hides menu and toolbar
Private Sub Form_Open(Cancel As Integer)

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i

End Sub

For your reports, your going need to access your print and preview menu. Just change the code to the following to enable the menu bar.

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Next i


Hope this helps....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top