Yes, I also commented out the code you gave me. It must have messed with the timing and the values of this.input. Now, it works on the first scan.
This stuff if such a pain to debug!!!
Thanks for the quick replies!
>OK, for a test, set the value to 1.
>In the Oncomm=2 event, test for the terminating character. If present, process the string.
>Does it fire now?
>
>>It is. The issue, like I said, is that if the user scans a code 39 bar code the length could be either 21 or 24 characters. If the user user scans a 2D bar code then the length could be as big as 185 characters. So, I changed the RThreshold value to 185.
>>
>>>Check to make sure your RThreshold property of the Comm control is set to something > 0.
>>>