Solved

automation error??

Posted on 1999-01-01
3
164 Views
Last Modified: 2010-05-03
what does "Automation Error" means...it a runtime error but i don't quite know when it will appear...if i redo the same transaxtion again the error doen't happen...so i'm quite puzzled at what is realy causing the error...can anybody help???? thanks!
0
Comment
Question by:wenchang
3 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 1453606
Hi,

Well this is what the help file says about this error :

" An error occurred while executing a method or getting or setting a property of an object variable. The error was reported by the application that created the object.

Check the properties of the Err object to determine the source and nature of the error. Also try using the On Error Resume Next statement immediately before the accessing statement, and then check for errors immediately following the accessing statement."

And that is exactly what you should do, check for more information about the error and try to pinpoint where or which call is givin' the trouble.

Hope this helps
:O) bruintje

0
 
LVL 4

Expert Comment

by:chabaud
ID: 1453607
What is the error code ?

Do you talk about database transaction ?
0
 

Accepted Solution

by:
gemme earned 50 total points
ID: 1453608
If you are trying to make two OLE transactions at the same time or trying to start one before the other is completed you will get this error only in a compiled exe and not in design mode.  There is a notice on the on MSDN that I ran into when I had the same problem.  This usually will occur if you have a timer in your program that is doing some automation calls.  If you look on MSDN there are a couple of work arounds but unfortunately no fixes.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now