Referencing One Component With Two Data Types Follow
I have a request for a certain customer to provide a barcoded part number that consists of other components on the label. Prefix|PN|QTY|UniqueID. The issue I'm having is the QTY field. It's being pulled in as a decimal value from our database as the default, and then it can be changed at the time of label print. The issue is that this can vary from 1 digit to 6 depending on the product. The QTY component on the barcode must be a 6 digit character.
The only way I can see to ensure that the QTY component is a 6 digit character is to make it type Text. But I also need for this to show as a number elsewhere on the label. I set it up to display correctly by linking the component to the object value, but when I go to print I get the prompt for each label that the number doesn't match the Character length and needs to be padded.
So is there anyway to properly reference the input field in two areas with two different data types? Or ideas about how I can accomplish what I need?
My workaround is I just disabled the warning for not hitting the minimum character limit