You can also in the after routine of the second field, do a raw char input loop, until there are no further raw chars to input.
-----Original Message----- From: David A. Green <dgr...@dagconsulting.com> To: 'U2 Users List' <u2-users@listserver.u2ug.org> Sent: Fri, Feb 22, 2013 11:54 am Subject: Re: [U2] FW: Clearing Input Buffer CLEARINPUT David A. Green (480) 813-1725 DAG Consulting -----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 12:52 PM To: 'U2 Users List' Subject: Re: [U2] FW: Clearing Input Buffer How do I flush the buffer? What is the name or function I need? I can't put my finger on the right page in the Unidata manuals. Thanks. Al DeWitt > -----Original Message----- > From: Kevin King [mailto:ke...@precisonline.com] > Sent: Friday, February 22, 2013 1:25 PM > To: U2 Users List > Subject: Re: [U2] FW: Clearing Input Buffer > > I would think flushing the input buffer in either location would be > sufficient, assuming the problem is as you described. I've seen > situations where there's something in the second field, for example, > that is data stacking something new and the data stacking from the gun > is conflicting with that. If you're confident that's not the case, flushing the input before that third field should suffice. > > On Fri, Feb 22, 2013 at 12:20 PM, Al DeWitt <adew...@stylmark.com> wrote: > > > 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 _______________________________________________ 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