Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing a bar code number using CCD barcode scanner.
Message
 
To
15/10/2005 02:40:51
Alfred Roa
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows Millenium
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01059397
Message ID:
01060996
Views:
8
**QUOTE**

Hi All!

Would anyone know how or what am i going to do if i'm going to interface the barcode scanner to my visual foxpro application? Are there any ActiveX that i need to use to run a certain function?

Furthermore, are there set of codes that i'm going to use for reading or for capturing the bar code number? I'm using a CCD Barcode Scanner by the way.

Can anybody do me a favor on this? Please help... Thank you! HAVE A GOOD DAY.

-----------------------------------------------------------------------------

Hi Alfred,

Is it a serial barcode scanner or keyboardwedge?

There is not much you do on the coding when scanning/capturing barcode. But if you going to generate barcode numbers, you must have a function to check digits, using modulos operator or MOD().

Example: If your using the scanner for POS application and you have a text box for barcode number inputs or on a grids column text box, you can store a captured value to variable.

Let say you have stored a scanned barcode numbers to a variable cBarcode.
On my application, I put on the valid procedure on a text box then use the seek() function to search the desired records.

If seek(cBarcode)
* then do something
else
* alert user
Endif

Maybe you can post here what you want to do to your app when interfacing your app with a barcode scanner.
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Reply
Map
View

Click here to load this message in the networking platform