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 / Importing / Linking / August 2005

Tip: Looking for answers? Try searching our database.

Transferring Data from linked Excel into Access table via query.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joseph - 16 Aug 2005 22:21 GMT
Hi,
When I use an insert query to insert data from excel into access table the
error: "Numeric Field Overflow" occurs.
Please help
Klatuu - 16 Aug 2005 22:35 GMT
You have data in the Excel spreadsheet that is confusing Access.  The problem
here is that if a cell in Excel is formatted as General and not data has been
entered, Access will see it as Null.  There could be other issues with
numeric data type matching, but I have not experienced these.

To avoid the Nulls causing problems, wrap all your numeric fields in your
query with the Nz function.  For example, we have a column in the Excel table
named SomeMeaninglessNumber, so in the query in the column where you are
using SomeMeaninglessNumber, in the Field row:

Exp1: Nz(SomeMeaninglessNumber,0)

> Hi,
> When I use an insert query to insert data from excel into access table the
> error: "Numeric Field Overflow" occurs.
> Please help
John Nurick - 17 Aug 2005 07:22 GMT
Hi Joseph,

It's possible that there's a value in a column in the Excel sheet that
is too large for the data type of the corresponding field in the table.
E.g. a Number (Long) field can't store values much over 2 billion, and a
Number (Integer) is limited to about 32,000.  

>Hi,
>When I use an insert query to insert data from excel into access table the
>error: "Numeric Field Overflow" occurs.
>Please help

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
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.