In my table, a sales order number is stored with 6-digits, but the number is stored in a text field. Most of the numbers begin with 3-4 0s, as in 000097 or 000355. I cannot change the way this data is stored (in a SQL server), as it is input and processed through a separate software from Access.
The users are used to being able to input the numbers without the preceding 0s and find the item, anyway, in this other software. Unfortunately, the software does not contain all the reports that they need, and so we are creating missing reports in Access.
Is there a way that when they input the sales order number in the criteria pop-up, it automatically will fill in 0s at the beginning for any missing digits (up to the total of 6)? I learned how to do this with numeric fields, previously, but cannot figure out how to do it with a text field.
Cheryl dc Kern
The users are used to being able to input the numbers without the preceding 0s and find the item, anyway, in this other software. Unfortunately, the software does not contain all the reports that they need, and so we are creating missing reports in Access.
Is there a way that when they input the sales order number in the criteria pop-up, it automatically will fill in 0s at the beginning for any missing digits (up to the total of 6)? I learned how to do this with numeric fields, previously, but cannot figure out how to do it with a text field.
Cheryl dc Kern