I have the following control source of a text box on my report.
="*Z" & [Forms]![frmRcv]![identity_column] & "*"
This basically lets the ID number (identity_column) be read by a barcode scanner, and puts a Z in front of it. Works fine.
However, the system we're scanning it into requires that the identity_column be exactly 10 characters long. But our numbers are all from 1 to 4 characters long.
How can I force the length of the field to be 10 characters? Can someone show me how to do this with the above code?
Thanks
="*Z" & [Forms]![frmRcv]![identity_column] & "*"
This basically lets the ID number (identity_column) be read by a barcode scanner, and puts a Z in front of it. Works fine.
However, the system we're scanning it into requires that the identity_column be exactly 10 characters long. But our numbers are all from 1 to 4 characters long.
How can I force the length of the field to be 10 characters? Can someone show me how to do this with the above code?
Thanks