Convert to Text "As is"

G

Guest

I have data in a numeric field in an Access 2003 database that looks like:

035327148

How can I convert this to a "text" field...and have the data retain all 9
digits (including the leading zero)????

Thanks
Warren Phillips
 
G

Guest

Hi,
is the length of the digits always the same? Then you could just use the
format function e.g.:

Format([YourNumber],"000000")

If not then you might need to use the Cstr function in combination with
zeros in front of it.
HTH
Good luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top