spikepl
Eledittingent Beliped
- Local time
- Today, 19:20
- Joined
- Nov 3, 2010
- Messages
- 6,142
I've made a RH-menu, to move records. A2010
- open attached DB
- place cursor in field Department in the middle of the form
- right click
- select MoveUp
- do it again and again, then I get error when record is in second position from top in the table:
"The expression you entered contains invalid syntax
You may have entered a comma without a preceding value or identifier"
When I execute the moveup using the same code but clicking on the button cmdMoveUp, no error. When that same code is called from the right-click, I get the error.
Update, FYI: The menu is set up in Module1, sub Menus. Menus is called from OnLoad of the form in question.
- open attached DB
- place cursor in field Department in the middle of the form
- right click
- select MoveUp
- do it again and again, then I get error when record is in second position from top in the table:
"The expression you entered contains invalid syntax
You may have entered a comma without a preceding value or identifier"
When I execute the moveup using the same code but clicking on the button cmdMoveUp, no error. When that same code is called from the right-click, I get the error.
Update, FYI: The menu is set up in Module1, sub Menus. Menus is called from OnLoad of the form in question.
Attachments
Last edited: