Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From barcode scanner to table field
Message
From
12/02/2011 13:13:54
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01499921
Message ID:
01499922
Views:
65
This message has been marked as the solution to the initial question of the thread.
Moises,

it's so much easier than you think. Think of a bar code scanner as a keyboard, because to all your software it is just that, a second keyboard.

In addition most bar code scanner can be programmed to insert one or more characters of your choice before and/or after the scanned text. This means that it is possible to determine whether the input comes from the keyboard or from the scanner, if these extra characters are enabled.

>Hi
>
>I never used bar code scanner before.
>
>( the first bar code I built was for post mail scanner tracking machine)
>
>Now am considering have one for my use and I have two questions:
>
> 1- Will the code go direct to the a table field the same way as I was typing a keyboard ?
>
> 2- Is there way to automate as below ?
>
> loca for table.id = my_read_value_from_code_bar
>
>I wonder if the scanner send some command after bar was read and if vfp can detect if directly.
>
>
>Moises
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform