harrisw
07-24-2001, 07:34 AM
I keep getting an error function not avaliable when trying to run a certain statement in Access.
Any ideas?
Any ideas?
|
View Full Version : Function not avaliable harrisw 07-24-2001, 07:34 AM I keep getting an error function not avaliable when trying to run a certain statement in Access. Any ideas? Atomic Shrimp 07-24-2001, 07:38 AM Sounds like you have a Missing Reference (http://www.access-programmers.co.uk/ubb/Forum1/HTML/001587.html) harrisw 07-24-2001, 07:43 AM its a dcount function thats causing the error and also some vba behind a button. Any idea what reference is needed? harrisw 07-24-2001, 07:58 AM ((tblMain.[call back])=date()) and ((tblmain.userID)=Currentuser())) This is a copy of the statement that is displayed in the error box with the function not avalable message. Its been working fine until today and no changes have been made to the database. Pat Hartman 07-24-2001, 06:42 PM Mike posted a hyperlink to a forum topic that contains the answer you need. harrisw 07-24-2001, 11:38 PM Checked all this and everything is OK. The tick box is there in VBA and the vba332.dll exists in the same directory for everyone. If I re-install the full copy of access 97 over the top of the original everything is ok. Any more ideas! Rich 07-25-2001, 02:03 AM Have you tried copying and renaming the form,remember to compile and save before opening the form. harrisw 07-25-2001, 02:36 AM Don't think copying and renaming the form will make any difference. The database is constructed with a fron and backend the users see the fron end with the forms etc which sits on individual pc's. This then has links to the data in the backend. Some copies work some don't. The copies that don't have been working fine in the past. Rich 07-25-2001, 04:09 AM Try changing Date() to Now() Atomic Shrimp 07-25-2001, 04:37 AM Are there no references at all marked as missing? (It can upset the proper function of all sorts of things, not just the functions that reside in the missing library) harrisw 07-25-2001, 04:41 AM There is something listed as missing. Can't read it but it says something about common, sorry can't read the rest. It also says that on pc's that aren't having problems. Pat Hartman 07-25-2001, 04:49 AM harrisw, If you don't believe Mike and Rich about the references, look up the problem yourself in the microsoft knowledge base. They'll tell you the same thing. FIX the broken reference! http://search.support.microsoft.com/kb/c.asp?fr=0&SD=GN&LN=EN-US harrisw 07-25-2001, 11:58 AM Fixed. Many thanks |