Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4519 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

You should be able to use a script trigger which just sets the field back to empty. Something like

Set Field [ gScanField; "" ]

  • Like 1
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.