Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / April 2008

Tip: Looking for answers? Try searching our database.

ODBC Call Failed - Numeric value out of range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jay - 25 Apr 2008 20:37 GMT
Thanks in advance.
I have a working ODBC connection to SQL Server 2000.
Today, one of out 5 SQL tables is showing a following error.

ODBC Call Failed
[Microsoft][ODBC SQL Server Driver]Numeric value out of range (#0)

Is this server side table issue?
How can I restore connection to this table.

Thanks
Tom van Stiphout - 25 Apr 2008 23:59 GMT
Let's assume the error message is accurate. That would mean that the
SQL Server table has a value that Access considers out of range for
the data type it thinks the column has.

Example: look at your linked table in design view and observe you have
a numeric field that is a Long Integer. You know that means only
values from roughly -2^31 to +2^31 are valid.
Then look at the corresponding column in SQL Server. Let's say it's a
bigint column which you know can hold much larger values.
Then the failure would occur if a bigint outside of the Long Integer
range is in the table.

-Tom.

>Thanks in advance.
>I have a working ODBC connection to SQL Server 2000.
[quoted text clipped - 7 lines]
>
>Thanks
saulysw@gmail.com - 29 Apr 2008 02:55 GMT
Jay,

I'm getting this too for one client, but not on my PC. I have checked,
and we have identical versions of Access, the SQL ODBC driver, MDAC
and we use the same database.

If I open the table directly (rather than try and change the data from
within forms) and insert a record it seems to sometimes give the error
"numeric value out of range", other times to simply flag the record as
being Deleted, and sometimes, the whole table as Deleted (which is
kind of scary to look at!). If you close and re-open the table the
insert has actually been done. Access has the correct unique index as
per the SQL (2000 in my case) table. Very, very odd.

- Saul
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.