I am still bulding a database. It contains no data, and contains no embedded
macros. Yet, when I go to build code, I get these errors:
"File not found" followed by
"The form name * is misspelled or refers to a form the doesn't exist"
The problem does not lie in the form that automatically opens when the
database opens, and there are no embedded macros (I've read that these are
the two main places an error such as this can occur).
I did a search in the code box, and do find the two subforms listed even
though neither contains any kind of code. I can not figure out how to delete
these subforms from the code box, as they are wreaking havoc when I try to
build macros or write vb code.
I also already tried compiling db, which made no difference in terms of this
error.
Any other suggestions?
|
|
0
|
|
|
|
Reply
|
Utf
|
3/22/2010 4:05:01 PM |
|
"Anne" <Anne@discussions.microsoft.com> wrote in message
news:2BC5533A-4186-4B9B-895D-D86D40057906@microsoft.com...
>I am still bulding a database. It contains no data, and contains no
>embedded
> macros. Yet, when I go to build code, I get these errors:
> "File not found" followed by
> "The form name * is misspelled or refers to a form the doesn't exist"
>
> The problem does not lie in the form that automatically opens when the
> database opens, and there are no embedded macros (I've read that these are
> the two main places an error such as this can occur).
>
> I did a search in the code box, and do find the two subforms listed even
> though neither contains any kind of code. I can not figure out how to
> delete
> these subforms from the code box, as they are wreaking havoc when I try to
> build macros or write vb code.
>
> I also already tried compiling db, which made no difference in terms of
> this
> error.
>
> Any other suggestions?
Open the relevant form in design view. To select an un-selectable control
(say one you can't click on), open the properties sheet and use the
drop-down at the top of the window to select the control by name.
|
|
0
|
|
|
|
Reply
|
Stuart
|
3/22/2010 6:15:45 PM
|
|
The error is not related to any control on any specific form. The error
occurs regardless of which form or subform I open. The sequence is this:
I open any form (or subform) in Design View.
I choose Build Event.
I choose Code Builder.
Then I get the two errors in succession.
After clicking through to close the error windows, I see the VB editor.
Two non-existent forms are listed in the Project Window of the VB Editor,
and there is no way I can delete them.
There is no code in the code window.
I need to remove these forms from the Access Database somehow, or prevent
this error from occurring somehow so that I can get on with code and macros.
-Anne
"Stuart McCall" wrote:
> "Anne" <Anne@discussions.microsoft.com> wrote in message
> news:2BC5533A-4186-4B9B-895D-D86D40057906@microsoft.com...
> >I am still bulding a database. It contains no data, and contains no
> >embedded
> > macros. Yet, when I go to build code, I get these errors:
> > "File not found" followed by
> > "The form name * is misspelled or refers to a form the doesn't exist"
> >
> > The problem does not lie in the form that automatically opens when the
> > database opens, and there are no embedded macros (I've read that these are
> > the two main places an error such as this can occur).
> >
> > I did a search in the code box, and do find the two subforms listed even
> > though neither contains any kind of code. I can not figure out how to
> > delete
> > these subforms from the code box, as they are wreaking havoc when I try to
> > build macros or write vb code.
> >
> > I also already tried compiling db, which made no difference in terms of
> > this
> > error.
> >
> > Any other suggestions?
>
> Open the relevant form in design view. To select an un-selectable control
> (say one you can't click on), open the properties sheet and use the
> drop-down at the top of the window to select the control by name.
>
>
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
3/23/2010 6:29:02 PM
|
|
On Tue, 23 Mar 2010 11:29:02 -0700, Anne <Anne@discussions.microsoft.com>
wrote:
>I need to remove these forms from the Access Database somehow, or prevent
>this error from occurring somehow so that I can get on with code and macros.
You might want to try creating a new, empty database, and use file... get
external data... import to import everything EXCEPT these errant forms.
I'd suggest turning *off* Name Autocorrect - it's quite possible that it's to
blame.
--
John W. Vinson [MVP]
|
|
0
|
|
|
|
Reply
|
John
|
3/23/2010 6:51:18 PM
|
|
I did copy everything to a new database, and fortunately, since I had only
mock data, was able to copy just the structure. I also turned off Name
Autocorrect.
However, there were never any errant forms, at least not at the time the
errors occurred. I still don't know where the errors came from, but I am back
in the saddle again.
All is well for now, anyway.
Thanks!
"John W. Vinson" wrote:
> On Tue, 23 Mar 2010 11:29:02 -0700, Anne <Anne@discussions.microsoft.com>
> wrote:
>
> >I need to remove these forms from the Access Database somehow, or prevent
> >this error from occurring somehow so that I can get on with code and macros.
>
> You might want to try creating a new, empty database, and use file... get
> external data... import to import everything EXCEPT these errant forms.
>
> I'd suggest turning *off* Name Autocorrect - it's quite possible that it's to
> blame.
> --
>
> John W. Vinson [MVP]
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
3/29/2010 2:47:01 PM
|
|
|
4 Replies
774 Views
(page loaded in 0.149 seconds)
Similiar Articles: The form name is misspelled or doesn't exist - microsoft ...... into a new blank mdb file, be > sure to select each form separately (i.e. do not use ... The form name is misspelled or doesn't exist ... recommends: Repair Windows Errors ... filedialog filepicker and folderpicker - microsoft.public.access ...With the filepicker, if I >>> enter >>> the name of a non-existent folder, of course I get the file not found >>> error. >>> >>> >>> I want the user to be able to ... populating list box with fields name of a table - microsoft.public ...... to use listbox2.value = listbox1.value or anything like this, I am > getting "no module found" error, and sometimes a message suggesting > that form name is misspelled ... Word 2007 Spell Check - microsoft.public.word.application.errors ...... form and noticed it didn't spell check when I tested as a user. I searched and found http ... the File tab, and then ... The spelling checker does not flag misspelled ... FollowHyperlink - Error 490 - microsoft.public.access.formscoding ...I could have misspelled the Filename, but I thought it ... Douglas J. Steele" wrote: > You positive the file name ... If you've got code that's raising that error, what's ... Visual Basic for Applications Project in the database is corrupt ...One user > suddenly started receiving this error ... Microsoft Visual Basic - File not found - microsoft ... The module name ‘module name’ is misspelled or refers to a ... Collecting Data via Email (InfoPath error) - microsoft.public ...The first time I opened the form in ... Outlook I received the following error ... valie: view1.xsl >>> The .xswl file is not valid XSL. >>> Expected toek 'EOF' found 'NAME'." Loading Text File to TextBox using LoadFromFile - microsoft.public ...I got the file picker working and displaying the file name on the form, but the file ... LoadFromFile (varFile) > '-> Method or Data Member not Found error ... item not found in this collection - microsoft.public.access ...... really that, and not (for example) "Company Name". ... access BACKUP file created when saving Excel ... item not found in ... in a sub form ... item not ... runtime error 3265 ... Run Time error on file name - microsoft.public.excel.programming ...> >> >> > 1: Open User Form > >> >> > 2: Open ... thing I can think of is that the file name is not ... I have a runtime error. It says " Data source name not found and no default ... Form error:The form name 'Form1' is misspelled" How do I correct?"File not found" and "The form name is misspelled..." errors: Anne: Microsoft Access Form Coding: 4: 29th Mar 2010 03:47 PM: Form 'misspelled or doesn't exist' error File not found error ? - C# / C Sharp - Bytes - Tech Commmunity ...File not found error ?. C# / C Sharp Forums on Bytes. ... > >in my windows forms application at ... > >of its dependencies, was not found. > >File name: "System" > > > >the error comes ... You receive a "File Not Found" error message in Excel when you ...Discusses the "File Not Found" error message that you may receive when you open a file by double-clicking the file name in Excel. Requires that you modify ... File not found (Visual Basic Run-Time Error)A startup form has not been specified ... File name or class name not found during Automation ... File not found (Visual Basic Run-Time Error) "HTTP Error 404 - File or Directory not found" error message when ..."HTTP Error 404 - File or Directory not found" error message when you request dynamic content with ... In the Extension name box, type a friendly name for the ... 7/27/2012 12:48:48 PM
|