Would like to convert text to a decimal number using query.
Text is 12345.65 converted to 12345.65(Real & Decimal number)
Like:
INSERT INTO Newtbl(TestNumb)
SELECT ???? [Oldtbl].[TestText] '???? I need expression
FROM OldTbl
first of all, I've been able to append text data to a Numeric field (Field Size was Double) without having to do any conversion, so I don't understand the problem you are having. Terry's example was to use the CDbl or Convert to Double function which would have converted the text string type to a numeric double type. If you are concerned about Access dropping the trailing zero off of the Decimal places, simply change the Format for the Numeric Field To Fixed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.