I have a label with an expression binding: "Pallet ID: " + {Barcode Device Preview.Barcode::outReadString}. The outReadString member tag in the Barcode UDT is a string tag. If I have a number in there it works fine, but when I have text I get an error that is can't coerce it to a number. I don't know why it thinks it need to be a number. The string data looks fine in the tag itself. If I type in fixed text in the expression instead of the property the component looks fine.
I don't have the answer to why.
But have you tried using the concat() function instead of +?
Try toString({Barcode Device Preview.Barcode::outReadString})
I tried that and get the same error.
I get the same error using concat() function.
I changed the template path and then changed it back and now it's all working as it is supposed to.
Lol, the ol' turn it off and turn it back on again! Glad you figured it out