Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Complie Error 1

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
US
I have a couple of users that are getting a compile error when there using forms within the database...I tryed unloading and re-installing ms office and that did not work..I know the code works fine. I have it running on several different systems..

Can someone help?

Thanks DVannoy
A+,Network+,CNA
dvannoy@onyxes.com
 
I was using the space command...the error message that comes up is, something about it not found in the library DVannoy
A+,Network+,CNA
dvannoy@onyxes.com
 
Sounds like they could be missing some library files on their computer that your other computers have on them. Go to one of the computers that it is working on, document all the refrences in your VBA module that are being used as well as the files that go with each one. Then go back to the other computers and check to make sure each one of those files is there and is an up-to-date version. Hope this helps you a little bit. As for the space command, have no clue what your talking about, so I don't know which library file would be missing. You could try to find the documentation for it and maybe it would tell you which library that method belongs to?
 
This normally happens when there are "missing" libraries.
If your users are running an MDB file then do the following:

Open database in design mode (hold Shift key down when starting)
Open ANY module in "design" mode
Then select menu option - Tools/References

This will list all available libraries and the ones used by your application will be ticked.
If one of those ticked has "MISSING" there is your problem

Determine what is missing and install them on your users PC in the required directory (can find this out from YOUR PC by doing above steps)
 
Oops !!!! - an addition to my previous post.

If your users are running an MDE you will NOT be able to do the before mentioned steps as you cannot get the database opened in design mode. You will have to get YOUR .MDB file onto their PC(s) and then do the above.
 
the code in the faq mentioned above - does this for you whenever each user opens the db - put it in and you wont have to go running around to people's machines doing this manually. especially helpful when your users are spread out all over the place....
 
To GingerR

Cool !! - thanks for this tip. Have just implemented it myself and (hopefully) it gets rid of a worry for me re a 250+ user system operating across a WAN.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top