ANDREWeire
Programmer
I've designed a form with an Account search button on it.
It's all very simple code which pops up a parameter box into which the user types the account number. This account number can be anything from 00004412 (for example) to 99999999.
However, since the numbers are stored in the table as numbers and thus without leading zeroes, if a user types in 00012345, Access will not return the account. Access will only return the account if the user types 12345. I have got advice previously concerning this problem referring me to the FORMAT section of the design screen. This does not help me as it merely affects the way in which the field is viewed, as opposed to how the field is stored.
I would like a simple way of allowing the user to enter 00012345 to find the account.
Thanks.
It's all very simple code which pops up a parameter box into which the user types the account number. This account number can be anything from 00004412 (for example) to 99999999.
However, since the numbers are stored in the table as numbers and thus without leading zeroes, if a user types in 00012345, Access will not return the account. Access will only return the account if the user types 12345. I have got advice previously concerning this problem referring me to the FORMAT section of the design screen. This does not help me as it merely affects the way in which the field is viewed, as opposed to how the field is stored.
I would like a simple way of allowing the user to enter 00012345 to find the account.
Thanks.