473,439 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,439 software developers and data experts.

Numeric Field Overflow error

Using Access 97, Windows XP

I'm receiving a Numeric Field Overflow error during text import that I
did not receive before I split my database. Another thread I found
suggested that the cause of this error might be due to columns on the
text file being in a different order than fields in the destination
table, but they're the same in my case.

I'm thinking a workaround might be to import to a temp table in the
front-end, run an append query from the temp table to the back-end
destination table, then delete the front-end temp. However, this
application performs 23 different imports, and I'd hate to have to set
that process up for each.

Does anybody know of a cause/fix for this problem? If a workaround is
required, is there an easier way than what I've listed above?

Any help is much appreciated. Thanks.
Nov 12 '05 #1
2 8658
IME, importing into a temp table is generally the best approach. This lets
you check dates (Access does not always recocognise correctly), handle
currencies, sort out records that contain "NIL" in what is supposed to be a
numeric field, or "N/A" in other fields, check that data is present in
required fields, check that foreign key values match, or append data to the
lookup table for those records that need it and replace the values with the
key, etc, etc.

But that does not account for your experience that a numeric overflow occurs
only with an attached table. Have not experienced that. If this is writing
to a new table, Access guesses the field type based on the first few rows,
so the overflow can depend on the actual data, i.e. if the first several
rows appear okay and Access decides to use a small data type, then a few
dozen rows down a value is too large. Depending on what the data source is,
you may be able to define an import spec to indicate how to import.
Alternatively, you could import into an existing table.

Not sure that deals with your question well, but hope it provides a useful
lead.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Robert McEuen" <UN**********@yahoo.com> wrote in message
news:fb**************************@posting.google.c om...
Using Access 97, Windows XP

I'm receiving a Numeric Field Overflow error during text import that I
did not receive before I split my database. Another thread I found
suggested that the cause of this error might be due to columns on the
text file being in a different order than fields in the destination
table, but they're the same in my case.

I'm thinking a workaround might be to import to a temp table in the
front-end, run an append query from the temp table to the back-end
destination table, then delete the front-end temp. However, this
application performs 23 different imports, and I'd hate to have to set
that process up for each.

Does anybody know of a cause/fix for this problem? If a workaround is
required, is there an easier way than what I've listed above?

Any help is much appreciated. Thanks.

Nov 12 '05 #2
If access says you have an numeric overflow then that's what you have,
just check all of your receiving fields

Regards Bill
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Eugene | last post by:
Hi, I have a field: usercode In Query Analyzer: UPDATE tblUserProcess SET usercode = 1002 Result: Error "Arithmetic overflow error for data type tinyint, value = 1002. The statement has...
2
by: Eugene | last post by:
Hi, In Query Analyzer: update tblUserProcess set usercode = 1002 Error: Arithmetic overflow error for data type tinyint, value = 1002. The statement has been terminated.
1
by: BillCo | last post by:
I've been running a text-to-table import as part of a daily routine for years and I've just added a few new fields and updated the import spec. The strange thing is that it works perfectly when...
0
by: rajmgopal | last post by:
Hello Everyone I am getting the following error when i try to insert a record into Sql Server 2005 from my VB 2005 application. sqlEx = {"Error converting data type numeric to numeric."} I...
0
by: Bob | last post by:
I hope somebody can help. I'm linking to an excel spreadsheet with several fields that come across as double. I can query the linked table fine, but when I make a form with the query as the...
4
by: darrel | last post by:
I'm getting this error: Arithmetic overflow error converting numeric to data type numeric. Triggered on this line of my code: objOleDbAdapter.Fill(DS, "rss") Everything works when this is...
1
by: sonata | last post by:
I am trying to compare two fields which are char data typr. BUT the comparision must be arithemetic in nature. so i tried to cast both the data base field and my parameter field to big int...
2
by: jgscott3 | last post by:
I have a query that simply totals a number of fields from a linked table. If I run it several times, it works fine for a couple of runs and then inexplicably returns a numeric field overflow error...
1
by: srinivasan2009 | last post by:
Hi, While Running macro i am getting error in a particular query "Numeric field overflow" For which i am opening that query and just saving the query. and query is starts executing.. ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.