Ding, ding, ding; we have a winner! Apparently the scanner I was using had a CR suffix. When I changed it to a Tab suffix it worked fine without needing to clear the buffer.
Thanks for all the input. Al DeWitt > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of John Solie > Sent: Friday, February 22, 2013 1:53 PM > To: 'U2 Users List' > Subject: Re: [U2] Clearing Input Buffer > > You'd probably be better off trying to find the configuration barcodes for the > scanner that control what character it sends after the data. > > > John Solie * Systems Analyst, Information Systems * www.phsyes.com > Professional Hospital Supply * 42500 Winchester Road, Temecula, CA 92590 > Tel. 951-296-2600 ext. 1226 Fax 951-296-2625 jso...@phsyes.com > > Leading the Market through Innovative Solutions > > IMPORTANT: The sender intends that this electronic message is for exclusive > use > by the person to whom it is addressed. This message may contain information > that > is confidential or privileged and exempt from disclosure under applicable > law. If > the reader of this message is not an intended recipient, be aware that any > disclosure, dissemination, distribution or copying of this communication, or > the > use of its contents, is prohibited without prior written consent from PHS. > > Please consider the environment before printing this email. > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Al DeWitt > Sent: Friday, February 22, 2013 11:21 AM > To: (u2-users@listserver.u2ug.org) > Subject: [U2] FW: Clearing Input Buffer > > I have an input screen (built with System Builder) where data can either be > entered manually or via a barcode scanner. The screen has 3 text boxes for > input. > The barcode option fills two of the text boxes and is supposed to land on the > third > box to await input. However, the scanner must be adding an extra return or > something because when I scan it the third field's Process After executes. > > What can I do to flush the input buffer at the end of my validation routine > on my > second field...or is it better to do this on the Process Before on my third > field. > > It's more of a nuisance but it would look more professional if I could make > it clean. > > Thanks. > Albert DeWitt, CPIM > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users