Problems with VAL function

70 pts.
Tags:
Access reports
Microsoft Access
VAL Function
I have a table with an NVarChar field that contains left aligned numeric values. I've tried using the VAL function to return the integer values, but I'm getting back Short Date results. What can I do to get integer results? Thanks, Arlin

Answer Wiki

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

Choose an appropriate format for this field.

Discuss This Question: 2  Replies

 
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
  • SbElectric
    I agree with the recommendation. Open the table in Design mode; Choose Data Type as Integer; Under Field Properties>> Field size As Long Integer. Good luck
    2,540 pointsBadges:
    report
  • Arlin
    I ended up using the following in my query: Expr2: CInt([Table_Field]) Worked fine. Thanks, Arlin
    70 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