Old module names (1 Viewer)

BadScript

Registered User.
Local time
Today, 03:24
Joined
Oct 30, 2007
Messages
73
I have a slight problem with my acces DB and I don't know how to solve it.
I tried to install the mousehook module and something went wrong the first time, it corrupted my DB file. Fixed the issue but uninstalled the mousehook module.

Today I tried to install it again but I get a compile error: ambigious statement.
I suspect it has to do with the name of the mousehook, it's called modMouseHook1. I tried to rename it to modMouseHook but access claims that name already exists..

Does anyone know how to clear references to a module that was already erased?
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 11:24
Joined
Jul 9, 2003
Messages
16,364
Copy everything into a fresh new database....
 

WayneRyan

AWF VIP
Local time
Today, 11:24
Joined
Nov 19, 2002
Messages
7,122
Bad,

You have two modules on your Module tab in the database.

modMouseHook1 and modMouseHook

When you call the routine, Access finds two with the same name.

Get rid of the modMouseHook1 module.

hth,
Wayne
 

BadScript

Registered User.
Local time
Today, 03:24
Joined
Oct 30, 2007
Messages
73
Bad,

You have two modules on your Module tab in the database.

modMouseHook1 and modMouseHook

When you call the routine, Access finds two with the same name.

Get rid of the modMouseHook1 module.

hth,
Wayne
I only have modMouseHook1 in my modules.
When I try to rename it to modMouseHook I get the message that module already exists. I'll try to start with a new DB and import the tables and forms.
Thanks..
 

BadScript

Registered User.
Local time
Today, 03:24
Joined
Oct 30, 2007
Messages
73
Importing everything into a new database actually worked.. Thanks! :D
 

Users who are viewing this thread

Top Bottom