Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Inventory Barcode Help?


MQuine

Recommended Posts

Barcode Help

 

I am trying to set up a simple inventory control list using a barcode reader.

I can’t seem to figure how to set up a quantity field that when the same item is scanned it will count the item rather than enter the item again, and if it is a new item place it in a new field.

 

Does anyone have any Ideas?

 

Thanks MQuine

Link to comment
Share on other sites

Originally posted by MQuine:

[qb]Barcode Help

 

I am trying to set up a simple inventory control list using a barcode reader.

I can’t seem to figure how to set up a quantity field that when the same item is scanned it will count the item rather than enter the item again, and if it is a new item place it in a new field.

 

Does anyone have any Ideas?

 

Thanks MQuine[/qb]

Create a file for data entry named BarCodeEntry.fp5 like this:

 

barcode global text

terminate global number

 

Than create an relationship with your inventory file, let's say named Inventory.fp5

 

Relation name BarCodeRel, allow creation of related records

 

barcode to barcode (supposing you have a field also named barcode , text, indexed, in your inventiory file)

 

Now, create scripts named "Start ", "Stop", "Input"

 

Start

 

setField [terminate,0]

setField [barcode,""]

go to field [barcode]

PerformScript [input]

 

Stop

 

setField [terminate,1]

halt script

 

Input

 

Set errorCapture[on]

SetField [barCodeRel::quantity,"BarCodeRel::quantity+1"]

SetField[barcode,""] //clear field

PauseResumeScript[0:0:1]

if [ not terminate]

PerformScript[input]

end if

 

Create two buttons, start and stop, with respective scripts.

 

You should also configure the barcode reader to tab-out the field after reading the code.

 

HTH

 

Dj

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use