W
Wink20TCU
How can I conver a number to text in a query?
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?