Help with mouse wheel movement

N

Nathan Guill

I have a switchboard that uses labels for the the menu items with onClick
and MouseMove events. Everything works fine except if a user uses the mouse
wheel. When this happens I get:

Run-time error '-2147217900 (80040e14)':
Syntax error (missing operator) in query expression '[ItemNumber] > 0
AND [SwitchboardID]='.

This is happening at the point where the labels are being filled in from the
Switchboard table.

Does anyone have any ideas on what I could do? I tried trapping the error
and setting the [SwitchboardID]=1, but that took me to the main menu anytime
the mouse wheel was used.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top