Hi,
I am new to this process so please hear me out and hopefully there is some easy method to do what I am trying to achieve.
I have a test combo-box field that has 3 items and an export value for each. A export as 01
B exports as 02, C - exports as 03. I have created another field that captures the export value, but it only captures 1, 2 or 3 and leave the preceding zero off because of it being a number. I have tried both single and double quote bookends on the export value, but it only gives me the single number. I also changed the value to 10, but then it gives me a 1 space 0. I really just want the value in the catching field to show exactly what I indicate in the export value.
Can I do something with the custom arbitrary mask on the receiving field or what other options do I have available?
Thanks for your review and help.
Have you looked at the properties of the field object and the properties that relate to the "value" of a field?
There are the 'value' property and the 'valueAsString' property.
Beyond those two options, one can use the 'util.printd' method to display a numeric value with leading zeros or use the concatenation operator and the 'substr' method to add leading zeros to a numeric value.
George Kaiser