barcode text_change() event
I have (2) problem.
(1) I have barcode scanner, when BEEP OK, that Text1.Text show all number.
example: EAN13 format
9-123456-123456
in Text1.Text show: "9123456123456"
How about that time, automatic changed format : "9-123456-123456" ?
where do begin learn ?
AND
(2) when BEEP OK, that number show. How to doing next click cmd1_click event?
any idea please!
Re: barcode text_change() event
here, I known if used Text1_Change(), is not good choice,
I think KeyPress, when sucess BEEP, used keyboard +enter key, maybe good way to handle...
Code:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then '~~~> 13 is for Enter key
If Len(Text1.Text) > 2 Then
Command1_Click
End If
End If
End Sub
Re: barcode text_change() event
From where do you get the barcode, to display it in your textbox. I mean, from where this textbox is updated with the barcode values ?
Are you simply typing the barcode data in your textbox ?