G
Guest
How can I conver a number to text in a query?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Wink20TCU said:How can I conver a number to text in a query?
Graham Mandeno said:Use the Format function. Here are some examples:
Format( 100, "0.00" ) gives "100.00"
Format( 42, "00000" ) gives "00042"
Format( 1234.5, "$#,##0.00") gives "$1,234.50"
--
Good Luck
Graham Mandeno [Access MVP]
Auckland, New Zealand
Wink20TCU said:How can I conver a number to text in a query?

Wink20TCU said:I am trying to join like columns in two DB2 tables, and the data is nothing
but numbers.
Unfortunately, the types do not match (Text and Number), and when I create
the join, the "type mismatch in expression" error message appears.
I want to turn the column with a number type into text.
Graham Mandeno said:Use the Format function. Here are some examples:
Format( 100, "0.00" ) gives "100.00"
Format( 42, "00000" ) gives "00042"
Format( 1234.5, "$#,##0.00") gives "$1,234.50"
--
Good Luck
Graham Mandeno [Access MVP]
Auckland, New Zealand
Wink20TCU said:How can I conver a number to text in a query?
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.