7 replies
by mbarker734
Your line:
(Format([requestdate],"MMM\YY"))
has the date separator backwards.
Try:
(Format([requestdate],"MMM/YY"))
Good Luck,
Mark
by paul.moore
by ddressen
I have basically the same problem with the DLookup function. The Function works fine on PCs that were upgraded from Access 95 to Access 2000, but I get the "Function is not available in query expression" error on new PCs that have only had Access 2000 installed. Reinstalling has not helped. The program is compiled as an mde file, so the VBA references are OK. The MSDN site is absolutely no help.
The only clue I have found so far is from the Q&A thread "Access97 Date() function won't work" posted by dbwriter on 10/25/00. In that case, installing Access 2.0 over Access 97 restored the functionality of the functions.
I am running Access 2000 without the SR-1 or SR-1A updates, so I am going to try installing the SR-1A update to see if that fixes it. If it doesn't I am going to try installing Access 2.0.
This whole problem is bizzare (and apparently common). I'll let you know if I find a fix. David
by paul.moore
by ddressen
The problems I described in Answer 2 above were not resolved by the SR-1a office update, or by installing Access 97 or Access 2 (I was thinking of missing DLLs).
All of the computers not having this problem had been upgraded from Access 95 to Access 2000, so I tried installing Access 95 on one of the failing computers. This eliminated the errors. Uninstalling Access 95 did not result in a return of the errors, so I concluded that one or more of the 27 files added to the C:\Windows\systemdirectory must have resolved the problems.
On a new computer which has had only Access 2000 installed, I copied the DLL files a couple at a time, then checked for the error. A set of three files resolved this problem: Msjetsql.tlb Msjetsql.cnt Msjetsql.hlp
By copying these 3 files to C:\Windows\system I eliminated all of the "function isn't available" errors in my application on several computers. I also copied: Msjeterr.cnt and Msjeterr.hlp since I suspect they might be required to process errors properly.
It appears that Microsoft forgot to include these Jet SQL system files in both the Access 97 and 2000 installations.
by paul.moore
by paul.moore
This discussion is closed to new replies.
Trending Software posts
Sort by Trending