Undefined function

C

CJ

I use Access under Office XP, but the database is in
Access 97. When I want to view my reports, I get this
message "Undefined function "Date" in expression". How do
I fix this ? I cannot convert the database, because all
my colleagues use Access 97, I am the only one on XP.
Many thanks for your help ! CJ
 
J

John Vinson

I use Access under Office XP, but the database is in
Access 97. When I want to view my reports, I get this
message "Undefined function "Date" in expression". How do
I fix this ? I cannot convert the database, because all
my colleagues use Access 97, I am the only one on XP.
Many thanks for your help ! CJ
This appears to be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
..DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.
 
C

CJ

I tried what you suggested, with no luck, now I get "your
microsoft access database or project contains a missing
or broken reference to the file "dao2535.tlb" version
3.5.
Could you give me another clue please, much appreciated,
John !
CJ
 
J

John Vinson

I tried what you suggested, with no luck, now I get "your
microsoft access database or project contains a missing
or broken reference to the file "dao2535.tlb" version
3.5.

Sounds like you have a (probably unneeded) reference to the aged DAO
2.5/3.5 Compatiblity layer. What references do you have checked? If
this one is checked, try just unchecking it and not rechecking it,
close and open Access, and use Debug... Compile to see if any errors
are generated.
 

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