The object doesn't contain Automation object X

Compressor

Registered User.
Local time
Today, 11:22
Joined
Sep 23, 2006
Messages
118
I'm getting an error message (informational only):

The object doesn't contain the automation object 'ClientID.'You tried to run a visual basic procedure to set a property or method for an object. However, the component doesn't make the property or method available for Automation operations.

Check the components documentation for information on the properties and methods it makes available for automation operations.
This happens when I start entering data in the field "productname" of a subform.

So I'm assuming something in the form or in the code of the form is referring to ClientID. but I've checked it, and there is nothing referring to it anymore. Well, at least as far as I'm aware of.

This afternoon access crashed without any error, it just closed. Upon reopening the DB again, all my work of the past one and a half week was gone. Normally I always backup the data, but these past days I didn't due to christmas and still working a lot too. So I forgot.

I did some redesigning in the process this evening, deleting and adding some fields and code.

I can't get rid of this error. Can anyone help? Or point me in the right direction?

Also the DB is 3.5MB in size. While it is completely empty. And I can't imagine that some empty tables, queries, forms and a bit of code can be so much. But that's for a later time to worry about I guess, unless one of you says: this and that, maybe that works... Otherwise, I would really be very glad already if the error disappears....
 
Pfffffffffffffew.... found it.... in the most obvious of all places none the less.... I did check the forms seperately (say: mainform and subform), but NOT the subform object within the mainform itself. In the tab Data, link child and master fields were still set incorrectly.

Hit me please.....

Remains only the size issue of the DB which is kind of large I think due to the whole crash happening this afternoon.
 
There is always Compact and Repair and you might also give it a /decompile
 
RuralGuy said:
There is always Compact and Repair and you might also give it a /decompile
I did do the compact and repair action, but I did know about the decompile switch. I'll take a look at that right now (after I've made a backup this time ;) )

Thanks!
 

Users who are viewing this thread

Back
Top Bottom