I am using a keyboard wedge scanner to input data into my Access form. I want to keep the user from having to use the keyboard or mouse. I enabled keypreview on the form and coded some non-alphanumeric keys to move the focus to certain fields or reset the form. I barcoded these symbols and labeled them per function. The scanner is configured to add an <ENTER> command after the data is sent. This moves the focus to the next field during data entry. I need to be able to catch that <ENTER> command when they scan the barcoded symbols to keep it from moving to the next field. I hide some fields based on certain input criteria so I can't set the focus to the previous field and let the <ENTER> get me to the correct field...tried that.
Is there a CLEAR KEYBOARD BUFFER function in VBA? Or, some other function that will effectively do this?
Thanks,
Brent
Is there a CLEAR KEYBOARD BUFFER function in VBA? Or, some other function that will effectively do this?
Thanks,
Brent