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.
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.