UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Run Code When Changing Form View, Any Version    
 
   
TimTDP
post Mar 26 2020, 05:47 AM
Post#1



Posts: 1,107
Joined: 16-June 05



I usually hide the ribbon on my database using the code: DoCmd.ShowToolbar "Ribbon", acToolbarNo
Is there a method I can use to run the code "DoCmd.ShowToolbar "Ribbon", acToolbarYes" whenever I change a form's view from View to Design?

Thanks in advance
Go to the top of the page
 
msbad1959
post Mar 26 2020, 06:06 AM
Post#2



Posts: 40
Joined: 5-June 18



Put it in the Form Unload Event.
Go to the top of the page
 
TimTDP
post Mar 26 2020, 06:11 AM
Post#3



Posts: 1,107
Joined: 16-June 05



Thanks very much
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    2nd April 2020 - 08:10 PM