×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

[pervasive][odbc client interface] Numeric value out of range. (#0) - MS Access and Sage 50

[pervasive][odbc client interface] Numeric value out of range. (#0) - MS Access and Sage 50

[pervasive][odbc client interface] Numeric value out of range. (#0) - MS Access and Sage 50

(OP)
We're trying to do some custom reporting off of Sage 50 MRP software. We're using MS Access as the custom tool to write queries, run reports, process data, etc.

We are able to link to several Pervasive tables for our needs. 5 of the 6 don't cause us any headache.

In trying to pull the linked Pervasive table "JrnlRow" to a local Access database, we get the error message in the subject line:

[pervasive][odbc client interface] Numeric value out range. (#0)

This is happening very specifically on the column PostOrder in the table JrnlRow. When we leave that column out, we can get data copied over.

In sorting on that column, we found that there is a constantly varying number of records with have the value #NAME across all fields. I was pretty sure THIS is what is causing the problem, but there are other fields that we are also pulling that are not blowing up due to having those values. So, I can't be sure. However, I believe PostOrder is a foreign key field.

Does anyone have any insight into this? What we can do to fix it?

RE: [pervasive][odbc client interface] Numeric value out of range. (#0) - MS Access and Sage 50

What data type is the JrnlRow field defined as in Pervasive? Can you read that column through Pervasive Control Center?

Mirtheil
http://www.mirtheil.com

RE: [pervasive][odbc client interface] Numeric value out of range. (#0) - MS Access and Sage 50

(OP)
It is a long integer. Yes, it can be viewed in Pervasive. The problem seems to be all the records with "#Name" values in them.

We found a work-around by linking JrnlHdr to JrnlRow on PostOrder, then only returning the PostOrder value from JrnlHdr instead of from JrnlRow.

But what is causing those records with the dodgy values? I can't seem to filter them out any other way. And the number of them keeps changing.

Thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close