FileMakerHarry Posted October 22, 2012 Posted October 22, 2012 Hello Board, Again, thank you for all your help recently. I've learned a lot about Looping, Counting and Variables and have really put them to work several times over. We use a database here with a field that contains a barcode number. It's 10 digits long. Last night, i changed the field over from 'Number' to 'Text'; because we're about to start scanning alphanumeric codes into that field. It went OK and you can now input those alphanumeric codes into the field. However, when i use our barcode reader to scan into that field, it puts a carriage return at the end of the number. This wasn't happening before. Anyone know why? This can't be the way with all fields? Or is it text fields? It's completely messed up the system, because the operator can't simply scan in barcode numbers. The field is: Text Indexed Unique Maximum (10 Characters) Message (Warning/Error!)
qube99 Posted October 22, 2012 Posted October 22, 2012 You can try to remove it with Substitute ( text; "¶"; "" )
David Jondreau Posted October 22, 2012 Posted October 22, 2012 The bar code reader has always sent the carriage return. But Number fields don't allow them, so it's gotten stripped out. Now that you've got a text field you've got to handle the carriage return. Steve's Substitute() will work. Just put it in the "auto enter calculation" and make sure the field is set to not "Do not replace..."
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now