Compile Error

  • Thread starter Thread starter BruceH
  • Start date Start date
B

BruceH

I'm developing an application on my Win2000 system and when
I run it on a target Win98 system running Access 2000 it stops
in a function on the line:
newStr= str(curRecord)
with the error:
Microsoft Visual Basic
Compile Error
Can't find project or Library

I have another application where the code that was automatically
generated makes use of str() such as:
rs.FindFirst "[ID] = " & str(Nz(Me![Combo144], 0))

Do I have to include something in my application for
the missing project/Library?

TIA
 
You may have a problem with your library references. Open any module in
design mode and click Tools > References. Are any checked libraries in
the list "MISSING:"? If so, you must resolve these before continuing.
Either remove or fix (click browse and find the library) the missing
references. If the missing references can't be resolved, an Access
re-install may help.

The problem is possibly related to a library that is available on the
Win2000 computer, but not available on the other. One solution is to
see if a compatible library is available on the Win2000 computer and
reference it instead.

Hope this helps,

Peter De Baets
Peter's Software - MS Access Tools for Developers
http://www.peterssoftware.com
 
Back
Top