"Michael Trombetta" <Michael
(E-Mail Removed)> wrote in
message news:6120F815-8343-4E85-8E65-(E-Mail Removed)...
>I am trying to convert an Access 97 database to Access 2007. I get the
>error
> message: "Compiler Error Can't find object or library" on the following
> code.
>
> Err_AddBook_Click:
> MsgBox Error$
> Resume Exit_AddBook_Click
>
> when the compiler encounters Error$.
>
> Any help would be appreciated.
In the VB editor, click Tools -> References..., and look for any marked
MISSING. If there are any, un-check them and, if there's an Access 12 or
Office 12 equivalent, check that one instead. If you un-checked some
references, try recompiling and see if any compile errors are raised. If
not, try running the code again and see if the problem has gone away.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)