Convert Numbers to Text

I have two fieds in a table:

Application Year
Appication Number

the Application Year is the last two digits of the year, such as "98","99","00","01",
the Applicaton Number is an eight digits number, such as "00000150", "00000151",

I am combining the two fields to create a new table with an unique field like :

Inspection Number: [Application Year] & " -" & [Application Number]

the issue that I am having is the the leading zeros for each of the fields are dropping and it looks like this "98-150", "0-151"

I need assitance be able to retail the leading zeros for each of the fields when I combine the two fields please.. I like to see it look like this : "98-00000151", "00-00000151",

I want the the year to retain the first two digits and the Application Number to be 8 digits.
TonyEFAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IrogSintaCommented:
Use the FORMAT function:
Format([Application Year] & [Application Number], "00-00000000")

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TonyEFAuthor Commented:
The only way for the FORMAT function to works for this senario is as follow:

Format([Application Year],"00") & Format([Application Number],"-00000000")
0
IrogSintaCommented:
You're right, my mistake.  Looks like you figured it out. :-)
0
TonyEFAuthor Commented:
the answer of the expert was not completed...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.