Link to home
Start Free TrialLog in
Avatar of Jose C
Jose CFlag for United States of America

asked on

format number in access

i have a column of months that i need to format to two digit numbers.

example:

       convert          7            to               07
       convert        10            to               10   remains same

thanks!
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Bear in mind that the Format function yields a String -- it has to be a String to have a leading zero.  So you may have to change the field data type to Text.
If the column is a date field, set the format to MM. If it's a number field, set format to 00.

Flyster