# Barcode report generating incorrectly

**URL:** <https://forum.inductiveautomation.com/t/barcode-report-generating-incorrectly/25963>\
**Category:** Ignition Early Access\
**Created:** [June 19, 2019, 8:26pm UTC](https://forum.inductiveautomation.com/t/barcode-report-generating-incorrectly/25963 "2019-06-19T20:26:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nburt](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nburt](https://forum.inductiveautomation.com/u/nburt)\
**Post date:** [June 19, 2019, 8:26pm UTC](https://forum.inductiveautomation.com/t/barcode-report-generating-incorrectly/25963/1 "2019-06-19T20:26:51Z")

</div>

I have a report that has a barcode of the format DATA\_MATRIX. The barcode’s Datakey is a parameter of type String. When I set the value of the parameter, the barcode is generated but when it is scanned it does not return the same result as the parameter.  
Eg, I set the default value of the parameter to **'_2_CT BOX (GF)**\ ***’** but when I scan the barcode I get **_CT_ BOX00**

EDIT:  
The barcode generates and scans correctly for all other types of 2D barcodes (AZTEC, PDF\_417, and QR\_CODE)

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [July 8, 2019, 10:47pm UTC](https://forum.inductiveautomation.com/t/barcode-report-generating-incorrectly/25963/2 "2019-07-08T22:47:47Z")

</div>

I tried to replicate this in Ignition 8.0.3 and it scanned just fine for me.

 ![Screenshot_20190708-154345](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/038ed5b1f5cac358f7fdfcf627169aa0186a5717.jpeg)

My parameter is type String, and the expression is “2CT BOX (GF)\*”, including the quotation marks.

---

<div class="post-metadata">

**Author:** ![nburt](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nburt](https://forum.inductiveautomation.com/u/nburt)\
**Post date:** [July 12, 2019, 3:44pm UTC](https://forum.inductiveautomation.com/t/barcode-report-generating-incorrectly/25963/3 "2019-07-12T15:44:14Z")

</div>

@KathyApplebaum Are you able to scan the following string parameter (including quotation marks:  
‘ROM\_TVL_CGT_40005131_2_CGT, FSC PALL MALL ORANGE 100S BOX (GF)\*\*\*\*_10435891CVZ11051burtn_’

This example doesn’t seem to want to scan at all for me.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [July 15, 2019, 2:46pm UTC](https://forum.inductiveautomation.com/t/barcode-report-generating-incorrectly/25963/4 "2019-07-15T14:46:27Z")

</div>

I needed to change the curly quotes to straight quotes, but it scanned fine. Maybe there’s an issue with your scanner?

 ![Screenshot_20190715-074240](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/42f6ba8030533da94c4c0cb4b083aa0550646164.jpeg)
