Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text box should accept value only by barcode scanner.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00692776
Message ID:
00692851
Vues:
22
Zaheer,
if you are scanning standard codes I'm not sure what you can do unless you can program the scanner to send some special character before the code. If you are printing the codes that are to be scanned then just put something like %% in front of the code and have the valid of the text box check for it and refuse anything that does not have it. I do it that way and it works great. As far as moving to the next text box after the scan, most bar code scanners send a charage return after the scan. Just have the text box keypress check for it and keyboard a tab.

HTH,
John.

>Hi Everybody
>In a simple data collection form, I want to control the user not to enter the data manually in some text boxes. He should fill all these text boxes by scanning barcodes. After scanning shot the cursor should move to the other text box automatically, even the scanned barcode’s length is less than the specified field width.
>Thanks in advance.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform