Delaying an Event

K

Kayzel

I have a form with multiple combo boxes. I use a barcode scanner (which acts
as a keyboard, typing in the characters of the barcodes one character at a
time) to scan in barcodes which are then looked up in a table and other combo
boxes in the form are filled in with make and model and so on.

To get the form to fill in these other items, i currently employ an "after
update" event. This requires me to press either tab or enter after the scan
to start the code. I tried using a "On Change" event but that triggered the
code after the very first character of the barcode.

Is there any way to perhaps delay the change event or use some other type of
event to allow the scanner to type the entire barcode before triggering the
event?
 
J

John W. Vinson

To get the form to fill in these other items, i currently employ an "after
update" event. This requires me to press either tab or enter after the scan
to start the code.

Check your barcode software. Most scanners have the option of appending a tab
or carriage return - line feed pair after the scanned text. This will trigger
the AfterUpdate event.
 

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