Hi Gurus ,
I want to create a text item which should accept number only by using barcode scanner and restrict from entering by keyboard .
I wrote this code to restrict from entering by keypad but it restrict even if it scan using barcode scanner .
My code on Keypress even.
If keyascii >= 48 And keyascii <= 57 Then
text1.Locked = True