Hiding/Removing Navigation Bar

chris_jolly

Registered User.
Local time
Today, 03:48
Joined
Jul 27, 2007
Messages
24
Hey all,

Im trying to hide/remove the navigation bar on my subforms. My access install didnt include any wizards so I just put in the corresponding table in the subform. So there is no seperate Form that I call in the subform, it is embedded.

Is there way I can hide/remove the navigation bar with the way I have my subforms set up?
 
Hey all,

Im trying to hide/remove the navigation bar on my subforms. My access install didnt include any wizards so I just put in the corresponding table in the subform. So there is no seperate Form that I call in the subform, it is embedded.

Is there way I can hide/remove the navigation bar with the way I have my subforms set up?

If there is, I haven't found it yet. You might try this (and I haven't tested this yet because I have 2007 at home and not here at work) -

In the Load event of the main form, try using:

Me.YourSubformName.Form.NavigationButtons = False

And as the subform name, just use the name that is displayed on the main form for the subform (really a sub-table I believe) as it should show.

So, anyway, I haven't tried this for real in an A2K7 db, but it could be worth a try.
 
Thanks Bob, it worked perfectly
 

Users who are viewing this thread

Back
Top Bottom