# Data Entry via barcode reader

**URL:** <https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727>\
**Category:** Archived Topics\
**Created:** [July 14, 2008, 8:17pm UTC](https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727 "2008-07-14T20:17:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexr](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@alexr](https://forum.inductiveautomation.com/u/alexr)\
**Post date:** [July 14, 2008, 8:17pm UTC](https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727/1 "2008-07-14T20:17:46Z")

</div>

How to send data entry via barcode reader to Database SQL Server in automatic?

Best Regards

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [July 14, 2008, 8:20pm UTC](https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727/2 "2008-07-14T20:20:55Z")

</div>

What kind of barcode reader? How does it interface with other things (USB/keyboard wedge, serial, unsolicited UDP, etc?)

---

<div class="post-metadata">

**Author:** ![alexr](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@alexr](https://forum.inductiveautomation.com/u/alexr)\
**Post date:** [July 14, 2008, 8:37pm UTC](https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727/3 "2008-07-14T20:37:19Z")

</div>

The Barcode Reader is Symbol,Model: LS2208.

The intarface is USB keyboard/wedge.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [July 14, 2008, 8:49pm UTC](https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727/4 "2008-07-14T20:49:12Z")

</div>

You could have the user scan the value into a Text Field component and then write a script on that text field that puts the value in the database when a certain number of characters have been entered if all barcodes have a fixed character length.

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [July 16, 2008, 2:21am UTC](https://forum.inductiveautomation.com/t/data-entry-via-barcode-reader/727/5 "2008-07-16T02:21:16Z")

</div>

I had a chance to use a Wasp USB barcode reader. The thing was slick as heck. A scan registered just like input from the keyboard. They included a “programming” book of barcodes. For example, if you want the device to type a “tab” or “enter” after a scan, you scan that corresponding barcode. You could make it beep afterward, and had lots of other options.

In FactoryPMI we used green neon colored rectangles around the input box to show the user which input was selected. A pretty simple Jython scrpt displayed and hid these on Focus events.
