Running a function from a menu-bar

  • Thread starter Thread starter Kel
  • Start date Start date
K

Kel

Hi,

I am trying to run a function from a menu bar button which opens a form
(entering the function name in the On Action box of the menu command).
There seems to be a bit of a weird problem in that it runs the function 3
times, therefore opening the form 3 times.

Has anyone else come across this? Is it some kind of glitch or am I missing
something obvious?

Thanks

Kelly
 
Actually - in case you're interested I didn't need to move the code to a
standard module - I just ended up having to call the function including the
brackets on the end e.g. =Find_Record(), when I called without the brackets
e.g. =Find_Record - that was when the bug showed - Bizarre???

Kel
 
Glad you got it working.
Interesting on the bracket situation.

Jeff Conrad
Bend, Oregon
 
Back
Top