|
-
Nov 7th, 2000, 03:37 AM
#1
Thread Starter
Junior Member
Hey all,
I have NO idea what this compile error means and the MSDN docs aren't helping either! Whenever I test run my program I'm getting this error:
"Compile error:
User-defined type not defined"
What the heck does this mean!?!
Thanks!
-
Nov 7th, 2000, 04:13 AM
#2
Addicted Member
I think you have to check the spelling of your variables carefully. That is in many cases where the user defined type error comes from.
-
Nov 7th, 2000, 04:25 AM
#3
Thread Starter
Junior Member
Unfortunately I don't think that's it. I moved some code from a form to the module to clean it up so I didn't run 150 different (but nearly identical) actions based on a click event. Thanks though...
-
Nov 7th, 2000, 04:50 AM
#4
Addicted Member
Can you show the line on which the error appears?
-
Nov 7th, 2000, 05:39 AM
#5
Fanatic Member
Scope
This is almost certainly to do with Scope - your UDT is not 'visible' to the function (or whatever) that is trying to use it. Try moving it back to where it came from in the form and make sure that fixes it. Then move the UDT definition to a .BAS module and declare it as Public, then move it into your module, declared as Public and so on and so on....
Cheers,
Paul.
Not nearly so tired now...
Haven't been around much so be gentle...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|