Compile Error: Can't find project or library

B

Bob

Hi all,

I've created a form in a database at work and have copied it to home
but have had some problems when I try to open the main form. The
error when I run it is:

Compile error: Can't find project or library

This error comes up then it highlights the 'date' function in the
following line of code:

intTodayPos = Int(Format(Date, "dd")) + Int((7 -
Format(fCalendarDay(Format(Date, "mm"), Format(Date, "yyyy"), 7, 1),
"dd")))


It also highlights the 'left' function in the following code:

strOutput = Left(strOutput, Len(strOutput) - 1)


Does anyone know what the problem is?
I really don't know where to start.. I would have thought those
functions are just built into access .. or do they hinge on setting
correct references... ??

Any help would be much appreciated as I need to work on the database
at home.

Kind regards,

Bob.
 

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