M
Mark A. Sam
I am working on a form for a barcode app. I want to make sure that whenever
the barcode is used, the focus goes to one partiuclar textbox where I have a
method in the AfterUpdate event to evaluate the scanned input and populate
appropriate textboxes or perform other actions.
I set the scanner to send "><" as preamble characters to identify to the
form it is a barcode scan.
My idea is to capture the scanned input via the form's KeyPreview event
placing it into a public variable, then evaluating the variable and if the
first characters are "><" to send the focus to the textbox mentioned above
for processing.
I don't see how I can determine when the variable has finished populated and
then to clear it for the next scan.
Does anyone have any ideas on how to accomplish my task of sending the focus
to a textbox if it is a scan, either by helping me complete my method or by
another one?
Thanks and God Bless,
Mark A. Sam
the barcode is used, the focus goes to one partiuclar textbox where I have a
method in the AfterUpdate event to evaluate the scanned input and populate
appropriate textboxes or perform other actions.
I set the scanner to send "><" as preamble characters to identify to the
form it is a barcode scan.
My idea is to capture the scanned input via the form's KeyPreview event
placing it into a public variable, then evaluating the variable and if the
first characters are "><" to send the focus to the textbox mentioned above
for processing.
I don't see how I can determine when the variable has finished populated and
then to clear it for the next scan.
Does anyone have any ideas on how to accomplish my task of sending the focus
to a textbox if it is a scan, either by helping me complete my method or by
another one?
Thanks and God Bless,
Mark A. Sam