Mike / JRB-Bldr
Mike
Thank you for your replies.
Depending on the type of scanner you use you may have to strip the delimiter characters from the beginning and the end of the string you receive (Usually a "*")
That shouldn't be a problem as you made me aware of:
Code:
var1=FIELDNAME
replace FIELDNAME with strtran(VAR1,"*","")
The project we are looking at is an established APP but the client is looking to speed up the process of "Booking in" items that have been received. In other words.... order is placed, UPC/SKU number is the reference (we have considered there could be more than one order with the same UPC/SKU but that's taken care of), item is received in to stock, barcode is scanned (instead of having to look up the customer order), item is found and the order is updated.
Thank you Mike
JRB-Bldr
The answer to your questions is "It Depends..."
How do you want to use the barcode data?
* Directly into a specific VFP Form's Textbox?
* Directly into a data table un-attended?
In answer to the first question, we want to keep it simple by populating a field on a form or doing an automatic search within a table to see if the scanned UPC/SKU number is present for a current order (I'm sure we can take of the source code, it's just a matter of getting that read information into some sort of field or perhaps storing it to a variable)
The second question, directly into a data table.... well again, a lot will depend on how the intial string (UPC/SKU number) is received. I'm sure we could do this "un-attended" but how is the scanned barcode recognised and turned into a variable for searching within a table?
As far as
What type of scanner are you going to use?
This would have to be a Manually triggered hand-held device, similar to the example I have posted. The reason for this is because the client is receiving in some cases, over 500 CD's/DVD's per day and the procedure at the moment is to manually search each one to find the customer who has ordered it.
In respect of
** Keyboard "wedge" interfaced reader?
** Direct port (e.g. USB port) interface?
* Conveyor belt type which automatically reads codes?
Well I'm not sure about this yet, until I've done some more research or perhaps you guys suggest the best approach.
I hope the above gives a better insight into what I am trying to achieve
Many thanks
Lee
Windows XP
Visual FoxPro Version 6 & 9