|
|
Compile error: User-defined type not defined
I have a database which compiles. I removed a number of forms,
queries, macros, modules and tables from it. When I try to compile
the "boiled-down" version, I get an error "User-defined type not
defined" at this line:
Dim FrmTest as Form_frmHelp
I checked the references, all references are identical in both
databases. I did a search for Form_frmHelp within the DB and didn't
see anywhere that it was referenced. Teh Googles couldn't help me.
Anyone got any suggestions?
|
|
0
|
|
|
|
Reply
|
ManningFan
|
11/3/2010 3:27:21 PM |
|
Nevermind. I discovered that somehow the form frmHelp had no code
behind it. Once I went to a backup and imported all the code that was
supposed to be there, it compiled fine.
|
|
0
|
|
|
|
Reply
|
ManningFan
|
11/3/2010 3:37:24 PM
|
|
On Wed, 3 Nov 2010 08:37:24 -0700 (PDT), ManningFan
<manningfan@gmail.com> wrote:
>Nevermind. I discovered that somehow the form frmHelp had no code
>behind it. Once I went to a backup and imported all the code that was
>supposed to be there, it compiled fine.
Oh, that's interesting. Thanks for posting the solution.
Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
|
|
0
|
|
|
|
Reply
|
Tony
|
11/3/2010 6:50:39 PM
|
|
|
2 Replies
505 Views
(page loaded in 0.072 seconds)
Similiar Articles: Compile error: User-defined type not defined - comp.databases.ms ...I have a database which compiles. I removed a number of forms, queries, macros, modules and tables from it. When I try to compile the "boiled-down... Avoiding problems with short-circuit primitive operator&& versus ...Compile error: User-defined type not defined - comp.databases.ms ..... problems with short-circuit primitive operator&& versus ... Avoiding problems with short-circuit ... What is "incomplete type?" (compiler error) - comp.lang.c++ ...Compile error: User-defined type not defined - comp.databases.ms ... Compile error: User-defined type not defined Follow ... Nevermind. I discovered that somehow the form ... function declared, but not defined - comp.lang.cCompile error: User-defined type not defined - comp.databases.ms ... function declared, but not defined - comp.lang.c Compile error: User-defined type not defined - comp ... error compiling the latest glibc - comp.unix.programmerCompile error: User-defined type not defined - comp.databases.ms ... error compiling the latest glibc - comp.unix.programmer Compile error: User-defined type not defined ... basic user-defined structure question - comp.lang.c++.moderated ...Compile error: User-defined type not defined - comp.databases.ms ... User defined ... suggested would solve this problem for the basic types, but not > for user defined ... signed/unsigned as fundamental types - comp.lang.c++.moderated ...Compile error: User-defined type not defined - comp.databases.ms ... signed/unsigned as fundamental types - comp.lang.c++.moderated ... Compile error: User-defined type ... Static const integral data members can be initialized? - comp.lang ...Why do Microsoft C++ Compiler reports: error C2864: 'obj ... float and double are not integral types ... types" including floats and even user-defined literal types ... 64 bit integer - comp.lang.c++.moderatedBecause they aren't types, but type names, defined ... lot of code will just use the types, and let the user figure out what is wrong if that results in a compiler error.) User-defined function and regexp - comp.lang.awkIs-it possible to pass a regular expression to a user-defined function as ... where $0 is for example : QUEUE(SMOP.LOCAL.QUEUE4) TYPE(QLOCAL) > > I got this error ... PRB: ADO: Compile Error: User-Defined Type Not DefinedWhen you compile your ADO project, you receive the following error: This can occur on either a Connection or Command object. "User-Defined Type Not Defined" Error Message Using DAOWhen you run a Microsoft Excel Visual Basic for Applications subroutine using data access objects (DAO), you may receive one of the following compile ... 7/22/2012 2:07:42 AM
|
|
|
|
|
|
|
|
|