MS Access 2003 write in SQL query to convert string to numeric

25 pts.
Tags:
Microsoft Access
Microsoft Access 2003
SQL
SQL Query
How do I write in SQL code in MS Access 2003 to create a query that converts a string into a numeric? Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can use expression builder to do same
CINT(TEXT value) will convert into numeric

I think you actually want CDbl(Text Value) if your dealing with non-integer values.

You can use VAL(Text value) to extract numeric value from string.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • JohnKennedy
    Cint(text1.text) - will covert the string(value) to an integer value. val(text1.text)- will get the value from the textbox 1 and returns a value Cdbl(text1.text) - will covert whatever is inside textbox 1 to and returns a value that supports decimal places in it.
    415 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following