Problems with attaching Command Buttons to Forms in Access 2000.

M

Mark Thompson

Hi;
I wonder if you can help me?
I am having problems when trying to complete the design of
my Forms in Access 2000.
When I try to attach a Command Button to Close a Form an
error message appears stating: "Can't find project or
library".
When I try to attach a Command Button to Run a Macro the
Command Button appears and then when I click next a list
of Macros should appear that are in the Db (there are 10).
The list is blank. If I click Finish a message appears
stating, "You must select an object name".
If I try to use a Command Button to Find a Record at the
end of the Command Button Wizard a message appears
stating "Microsoft Access failed to create the Visual
Basic Module '.' ".
These messages are appearing on all of my Db's.
Due have any ideas to my problem please?
Many thanks,
Mark
 
A

Art

Hi Mark,
Check you references from a code module
(Tools..References). Make sure that the Microsoft 9.0
Object Library, Microsoft Visual Basic for Applications
and Microsoft ADO ext 2.5 for DDL and Security are
checked. If you are using DAO then you want the DAO 3.6
libray checked as well.

The Easy Day
 
G

Guest

Many thanks for your reply yesterday however, the Db's are
still not working even though I tried as you
suggested.Microsoft 9.0 Object Library,
C:\Program Files\Microsoft Offices\Office\MSACC9.OLB

Microsoft Visual Basic for Applications
C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6VB

Microsoft ADO ext 2.5 for DDL and Security
C:\Program Files\Common Files\System\ado\msadox.dll

DAO 3.6 library checked as well.
C:\Program Files\Common Files\Microsoft Shared\DAO\dao360

I checked the files and still no luck. I even downloaded
the REGSV32A & REGSV32 downloads and ran them, but still
to no avail.

If you could suggest anything else, I would be extremely
grateful.
Cheers
Mark
 
M

Mark Thompson

Hi;
Many thanks for your reply yesterday, however the Db's are
still not working. I tried as you suggested, checking the
following libraries:
Microsoft 9.0 Object Library,
C:\Program Files\Microsoft Offices\Office\MSACC9.OLB

Microsoft Visual Basic for Applications
C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6VB

Microsoft ADO ext 2.5 for DDL and Security
C:\Program Files\Common Files\System\ado\msadox.dll

DAO 3.6 library checked as well.
C:\Program Files\Common Files\Microsoft Shared\DAO\dao360

This didn't work so I downloaded the REGSV32A & REGSV32
registery applications and ran them. This still didn't
work. I am now at a loss for what to do.
If you have any more ideas, I would be extremely grateful.
Cheers
Mark
 

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