I put the CHR(13) (ENTER) as part at the end of the BARCODE!
>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
Edgar L. Bolton, B.S. B.B.A.