Hi, Viktor.
I compiled code with no problem. No invalid function was found. So I have
all references
Unfortunately, that's not proof. Adding a new reference, compiling the
code, then removing this new reference, and then recompiling the code will
occasionally reveal a missing reference. Access 2000 has a bad habit of
this, but the more recent versions seem to rarely encounter this bug.
I use no ActiveX controls in my database
Excellent! Far fewer headaches that way. This means that the error message
mentioning an ActiveX control or OLE server refers to an Access component,
not your database appliction.
The problem must be in the MS Access itself. Even the MS Access example
databases do not work and cause the same error.
The ones that come with Access 2003? Or ones copied from a previous version
on another computer? If it's Access 2003 database examples not working, then
it sounds like either your user account doesn't have sufficient Windows
security permissions or you have a faulty installation of MS Office.
First, try logging in as the Windows Administrator and opening any of the
Access 2003 databases. If it runs with the Administrator account and not the
limited user account, then it's a Windows security permissions problem and
you need to have the
Windows Administrator assign sufficient permissions to your user account.
If the Windows Administrator receives the same errors as the limited user
account, then find the MS Office 2003 CD and attempt to repair Office while
still logged in as the Windows Administrator. If this doesn't fix the
problem, then uninstall and reinstall Office on this computer. Ensure that
you are logged in as the Windows Administrator during the reinstallation, and
that enough disk space is available (including the quota in the temporary
directories), and that a complete installation of the Access components is
conducted (no "Install on first use" allowed because you want no restrictions
while you are troubleshooting this problem).
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.