Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Barcode scanning as input
Message
 
À
20/09/1999 14:44:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00266232
Message ID:
00267010
Vues:
20
How about using a data identifier in front of the bar codes? By this I mean:
Place a 'P' in front of a bar code to signify a part number. Then all you do is look at the first character and it will tell you what it is. This is how the labels work ofr the auto companies (AIAG label) Parts start with a 'P', Serials with an 'S', Quantity with a 'Q' etc.

HTH
Mike

>Normally, you are correct in your statement. But in my environment, I have users who may scan (enter) the data out of order. Since I don't know which barcode they have scanned (which field of data), it would be an even more kludgy piece of code to put up a dummy textbox and place the data in the right field according to some logic. Any other ideas would be welcome.
>
>Scott
>
>>A BARCODE READER CONNECTED TO THE KEYBOARD BY A WEDGE IS JUST LIKE A PERSon typing fast and pressing enter.
>>So just use a TEXTBOX control to accept the input from the scanner. and in the valid event do all your validations..
>>
>>Hope this helps..
>>Regards Fred
>>
>>>I can't be sure the users will scan the barcode in a specific sequence so I am looking for a way to capture the data scanned by the keyboard wedge barcode reader, store that data to determine what the data is, and then put the data in the right field. My problem is that if I use INKEY() or the KeyPress Event, I can read the first or last key in the buffer, but I lose all the keys in the middle. Any ideas on how to grab the entire keyboard buffer?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform