Error when launching Access Forms

K

Kim

1) I do not understand what's wrong with my forms which always have this
error message:
"Your Microsoft Office Access Database or project contains a missing or
broken reference to the file 'LDDateTm.ocx' version 1.0".

I've checked the links in form that uses a macro to control a button action.
The macro is supposed to OpenForm(), GoToNewRecord() and Close().

2) The next error is:
"The object doesn't contain the Automation object 'Hugo'. 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 availiable for Automation
operations"

It occurs when I click on a combox box . The items are linked to a Table.
 
M

Maurice

Kim,

Seeing the message i'd say you have some broken references. You should check
the libraries that are needed to run your app. If you have the options to do
so:

Go to the Visual Basic editor (Alt -F11)
Go to tools -> References
In the dialog you are seeing you'll notice that some of the options have the
word MISSING in there. Uncheck those options, but now comes the hard part...
you have to check the right references. If you do know the right references
check those, recompile the project and start again. If you don't know the
references try the following trick;

Open a form in designview
Place the ocx-control from the activeX options from the toolbox (it looks
like a date time option)
When you have placed the control, save the form -> check the libraries
again. If the proper reference is there know remove the form you've just
created.

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top