Error when trying to import data into Access 2003

Posted on 2011-03-03
Medium Priority
Last Modified: 2012-06-27
I'm using an external program to create and store data, and have an action button on an Access form that is supposed to import the data to the back end of my database in order to create reports etc. But when I click the Import Data button on my Access form, I get the error message on the attached file. How do I find out what is wrong to resolve it. I did not create the form or action button.
Question by:contrain
  • 2
LVL 74

Accepted Solution

Jeffrey Coachman earned 2000 total points
ID: 35029898
Please post image files here (ex.: .jpg)
Image files are viewable directly in the thread.

As far as the error is concerned, you must make sure that the query exists and is spelled correctly at the time you click the button.
LVL 77

Expert Comment

ID: 35034806
Jeff has suggested a possible area to investigate and you should do that, but one of main reasons that most developers of mdb databases do not use Access macros is that there is almost no information provided when an error occurs.  The macro just stops.
That means that diagnosing a problem from a distance is pretty well impossible .
So generally all that can be said is to look through the macro definition in detail and check every entry is valid.

Author Closing Comment

ID: 35059526
Good advice of how to track the macro issue. I just need to find out if it is indeed pointing to something that exists, so I'll use this advice to pinpoint the problem.
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35059618
<I just need to find out if it is indeed pointing to something that exists, so I'll use this advice to pinpoint the problem.>
So , then is the issue resolved?

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question