Solved

THE OBJECT DOESN'T CONTAIN THE AUTOMATION OBJECT ...?!?

Posted on 2006-06-20
4
968 Views
Last Modified: 2007-12-19
I have a subform that is linked to a form by "PONO;" however, when I attempt to add a part number to the subform, I get the following error:

The object doesn't contain the Automation object 'PONO.'

You tried to run a Visual Basic procedure to set a property or method of an object.  However, the component doesn't make the property or method available for Automation operations.

Check the component's documentation for information on the properties and methods it makes available for Automation operations.

WHEW!  Help!!!

stevenjoe
0
Comment
Question by:stevenjoe
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
fruhj earned 500 total points
ID: 16946827
Sounds like the subform got messed up.

do you have other forms/subforms that work?

If so- I suspect you can fix it by deleting the subform, saving and re-adding the subform.
0
 
LVL 84
ID: 16949895
Are you sure that the mainform and/or subform contain the PONO field in their Recordsets? Can you post the .Recordsource of each here, along with the Master and Child linkfields?
0
 

Author Comment

by:stevenjoe
ID: 16953742
Fruhj,

Deleted and re-added and works great--thanks!

stevenjoe
0
 
LVL 12

Expert Comment

by:fruhj
ID: 16954164
Cool thanks for the points!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

864 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

24 Experts available now in Live!

Get 1:1 Help Now