Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Module not found error 1

Status
Not open for further replies.

scoobypaw

Technical User
Jun 8, 2005
20
US
I am really stuck on this one.

I made a copy of a form and renamed it. However the copy I made does not show on the database window but does show in the Visual Basic window. Since this happended I have been receiving this error:
"Module not found"

When I am in the visual basic window to try and fix it, it gives me this error:
"The form name 'frmSalesPendingDateRangeSelector' is misspelled or refers to a form that doesn't exist. If the invalid from name is in a macro, and Action Failed dialog box will display the macro name and the macro's aguments after you click ok. Open the window, and enter the correct form name." (FYI-nothing displays after clicking ok)

When I exported the SQL statements for the 'frmSalesPendingDateRangeSelector' this appears but I can't seem to get to it in access.
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "Form_frmSalesPendingDateRangeSelector"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Compare Database


I need some serious help on this one.

Thanks
 
Did the copy work before you renamed it?

Program Error
Programmers do it one finger at a time!
 
How are ya scoobypaw . . . . .
scoobypaw said:
[blue] However the copy I made does not show on the database window but does show in the Visual Basic window.[/blue]
[ol][li]Exactly how did you copy?[/li]
[li]Are you saying the [blue]Object[/blue] appears in the [blue]Modules Window[/blue] instead of the [blue]Forms Window[/blue]?[/li]
[li]Have you tried to delete the [blue]Object[/blue] and recopy?[/li][/ol]

Calvin.gif
See Ya! . . . . . .
 
Probably corruption - import everything to a new database. If you try to delete an object from VBE, you will probably only corrupt more.

Roy-Vidar
 
Yes the original work before I made the copy and renamed it.

I ended up importing everything into a new database. And it works find now.

Thanks all for your time and suggestions !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top