Preventing Web Menubar From Displaying

J

JamesJ

I have a form with hyperlink labels with which I open a few of my
forms. when I click a link to open a form the Web menubar pops
up. How can I prevent this??

Thanks,
James
 
J

Jeff Conrad

Hi James,

I had the same problem and solved it by adding this one line of code just before the code to launch
the hyperlink:

DoCmd.ShowToolbar "Web", acToolbarNo

See if that does the trick for you.
 
J

JamesJ

I inserted the code in the OnClick of the label and it appears to
have worked.

Thanks,
James
 
Top