I have simple form which i am planning to use on audit the sorting station at my work. Its pretty simple and looks like this:
.
The Problem: I'm using a handheld scanner (Symbol LI4278) to scan bar codes of every SKU contained in a certain bulk. The procedure is simple:
- Scan the bulk Code (Label: Etiqueta de Bulto)
- Then, the focus drops on SKU text Label
- Scan every SKU Barcode
- Send information to an access data base.
My problem lies in that after i scan a SKU Barcode, focus does not return to text label (T4) in order to keep scanning (SKU TEXT LABEL = T4), unless i hit TAB once. I need this to be automatic, and setfocus property is not working.
Here's my code:
Private Sub txtSKU_Change()
Application.EnableEvents = False
txtBulto.Locked = True
If Len(Me.txtSKU.Value) = 13 Then
Me.L1.ColumnCount = 3
Me.L1.AddItem Me.txtBulto.Value
Me.L1.List(L1.ListCount - 1, 1) = Me.txtSKU.Value
Me.L1.List(L1.ListCount - 1, 2) = Me.txtAuditor2.Value
End If
txtSKU.SetFocus
Application.EnableEvents = True
End Sub
I would really appreciate your help on this. I need this application to work perfect for operation purposes and reduce mistakes.
Regards

SkuCodeBoxwould be INFINITELY clearer thanT4orT3orL1for a name. Use meaningful names, thank yourself later.txtSKU(the big textbox where you suppose to scan many items?), is theMultiLineproperty set toTrueandEnterKeyBehaviorset toTrue? Most scanners inserts a tab/enter on each successful scan