Newbies dalton5 Posted September 1, 2012 Newbies Posted September 1, 2012 Hello, I am not english speaker so sorry for my written english. I have a textbox on my layout. I would like to fill the text box with a bar code scanner. The bar code scanner return the value of the barcode + enter keystroke. I would like to be able to scan the code with the scanner. Then when the enter key is detected, the textbox value is cleared. The text is linked to a field text. I worked with the button trigger keyStroke. I can detect the enter key. Then I want to delete the value to be able to scan a new code. And it doesn't work. I can remove the text. But I can't remove the new line created by the enter keystroke. Could you advice me? Thank you.
mr_vodka Posted September 4, 2012 Posted September 4, 2012 You should be able to use a script trigger which just sets the field back to empty. Something like Set Field [ gScanField; "" ] 1
Jimbojames30 Posted September 5, 2012 Posted September 5, 2012 You can also use the Go To Field script as well to reselect the field, The problem you might find is your scanner is prefixed with the enter key you need to change it to tab I use a scanfob 2002 You can change it on all scanners
Recommended Posts
This topic is 4519 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now