I needed to disable the help question drop down that appears in the upper right corner of Access 2002+ forms.
Setting the property of Application.CommandBars.DisableAskQuestiondropdown does this fine in Versions 2002 or higher.
Since this property isn't available in Version 2000, I get a compile error if the application is Access 2000 or earlier.
I initially thought doing some version checking would be the trick - but after playing around with some code that I could turn on or off based on the version, I'm still stuck with the need to compile lines of code that contain the 'invalid' property.
Any suggestions on how I can do this? Almost all my users will be in versions 2002 or higher, but I need to be able to error trap for this (and don't want the dbase decompiling on me!!).
Thanks in advance.
Setting the property of Application.CommandBars.DisableAskQuestiondropdown does this fine in Versions 2002 or higher.
Since this property isn't available in Version 2000, I get a compile error if the application is Access 2000 or earlier.
I initially thought doing some version checking would be the trick - but after playing around with some code that I could turn on or off based on the version, I'm still stuck with the need to compile lines of code that contain the 'invalid' property.
Any suggestions on how I can do this? Almost all my users will be in versions 2002 or higher, but I need to be able to error trap for this (and don't want the dbase decompiling on me!!).
Thanks in advance.