MS Access ODBC Import Issue

truth_talker used Ask the Experts™
I am trying to import some data into MS Access from an ODBC Connection.  

I am having two issues.

#1 - Whenever the data is importing, I keep getting this error.

Scaling of Decimal values resulted in data truncation.

Is there a way to make access skip over the errors, so I don't have to press this hundreds of times?

#2 - The data goes back 11 years, but I only need 2 years worth of information.

Is there a way to make it only import data from a certain date forward?

I'm guessing that would be based on a value in the tables, so that may be a little more complicated than I want to handle.

But if I can get #1 fixed, I can leave it running for hours and not worry about click on OK all the time.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If your ODBC connection goes to a SQL server, I would suggest creating a passthrough query, as that should be able to solve both your issues.
You can then use T-SQL to cast the variable to a different size decimal, and you could select only the 2 latest years.

Once you have your Passthrough query, you can then do a simple "Select * from Passthrough into YourLocalTable"


I actually have two databased.

One is Firebird, the other is an ODBC link to iCOBOL.

That's a bit over my head, but I will give it a try.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Anders Ebro (Microsoft MVP) (https:#a42041198)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial