Open any code window (Use Ctrl+G to open a blank debug window if there is no
code) On the menu go to the Debug item and try to compile your database. It
will throw an error if the references aren't correct. Clear the error and go
to Tools ... References. At least 1 will be marked "MISSING". You may be
able to simply uncheck it, but more likely you'll need to read the file it's
supposed to be by selecting it. Then use the Browse button to go find that
file.
When you are done, compile again and the #Name error will go away.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access