KSReynolds
Registered User.
- Local time
- Today, 16:14
- Joined
- Jul 24, 2013
- Messages
- 27
I have a database that is being run on both Access 2003 machines and Access 2007 machines. What I want to do his hide the toolbar on both versions in my on load event of my splash form. Now, I know the one for Access 2003 is
DoCmd.ShowToolbar "Menu Bar", acToolbarNo
and the one for Access 2007 is
DoCmd.ShowToolbar "Ribbon", acToolbarNo
But how do I get Access to evaluate which version is running to do an if statement to execute.
I tried:
If version = "14.0" then
DoCmd.ShowToolbar "Ribbon", acToolbarNo
end if
Will that work?
DoCmd.ShowToolbar "Menu Bar", acToolbarNo
and the one for Access 2007 is
DoCmd.ShowToolbar "Ribbon", acToolbarNo
But how do I get Access to evaluate which version is running to do an if statement to execute.
I tried:
If version = "14.0" then
DoCmd.ShowToolbar "Ribbon", acToolbarNo
end if
Will that work?