keyboard or a barcode

J

jorge

hello to all the geniuses.
as you might know where it came from a text?
whether from the keyboard or a barcode reader?
happens if I cancel all keyascii, I override the character entered by
the reader.
I need to know if I have to search by one field or another within the
database.

I think it might be by the time of admission, a bone less, revenue comes
from the reader, unlike the time a person takes to enter a 10/13 digit code.
I have this question:
how can I calculate the time of entry into a textbox (gotfocus up a bone
from one or a lostfocus AfterUpdate)?

thank you and SORRY FOR MY ENGLISH.
 
J

John W. Vinson

hello to all the geniuses.
as you might know where it came from a text?
whether from the keyboard or a barcode reader?
happens if I cancel all keyascii, I override the character entered by
the reader.
I need to know if I have to search by one field or another within the
database.

I think it might be by the time of admission, a bone less, revenue comes
from the reader, unlike the time a person takes to enter a 10/13 digit code.
I have this question:
how can I calculate the time of entry into a textbox (gotfocus up a bone
from one or a lostfocus AfterUpdate)?

thank you and SORRY FOR MY ENGLISH.

There is no way for Access to tell whether the charcaters coming in the
keyboard port are coming from keystrokes on a keyboard or from a scanner. You
can record the time when an entry was made into a textbox using its
AfterUpdate event.

I do not completely understand your question - "a bone less" means nothing to
me! Please feel free to post in Spanish or Portuguese if that is your native
language, there are people here who can read those languages.
 
J

James A. Fortune

jorge said:
hello to all the geniuses.
as you might know where it came from a text?
whether from the keyboard or a barcode reader?
happens if I cancel all keyascii, I override the character entered by
the reader.
I need to know if I have to search by one field or another within the
database.

I think it might be by the time of admission, a bone less, revenue comes
from the reader, unlike the time a person takes to enter a 10/13 digit
code.
I have this question:
how can I calculate the time of entry into a textbox (gotfocus up a bone
from one or a lostfocus AfterUpdate)?

thank you and SORRY FOR MY ENGLISH.

Maybe you meant the following:
Here is a puzzle for those of you who think they are smart.
Can you tell whether the input for a textbox came from a keyboard or
from a barcode reader?
The barcode reader prepends and appends a special character to its
input, but that's not enough. Input from the keyboard causes the
KeyPress event to fire. I wasn't sure if the barcode reader fires that
event so I cancelled any KeyAscii values in an attempt to receive only
input from the barcode reader, That didn't work the way I wanted. So I
needed another way to distinguish whether the input came from the
keyboard or from the barcode reader. I had the clever idea that the
barcode reader reads so quickly that I could use the time it took to
enter the value as a way of distinguishing the two since entering in ten
or more digits takes a bit more time. Since the data is going into a
textbox on a form, how can I grab the start and end times for when the
value is entered so that I can tell where the input came from?
Thank you and please respond in simple English since NOT ALL US
CANADIANS KNOW ENGLISH WELL, EH?

Of course, I'm just guessing.

James A. Fortune
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top