Michael,
As Ken said, the trick is 'SET CONFIRM OFF'. If you want the user to press TAB or ENTER for other data entry controls, then you change the SET CONFIRM value in the WHEN method of the barcode field and change it back in the LostFocus().
HTH
Barbara
>I have a text box with FORMAT="K" and INPUTMASK="99999999". Since data entry will be through a barcode scanner, I'd like focus to shift to the next field when all 8 numerals are entered.
>
>I suspect I can check LEN(this.value) in the KEYPRESS event, but I'm probably missing a more efficient solution (and I don't know if that will get in the way of the scanner sending the whole string as fast as it does - I don't want to drop characters)!
>
>Any solution?
>
>TIA