Weird, indeed.
You might try some of the following:
Recompile your project - recompile all - to make sure the
latest changes are in effect. Debug to see what commands are really executed. Apart
from using the debugger, you might insert "wait
window" to see whether the toolbar/menu commands are
really executed at all. Check the current directory and path for both cases.Regards, Hilmar.
>Hi All
>Can anyone tell me why I get the error Object 'My Form Name' is not found when I run a form from a toolbar but its fine if I run the same form from the menu items. I have an F10 function button which launches a search form, if the user used the toolbar I get the error if the user used the menu item I don't. Both have identical calls i.e. do form Myform
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)