If you use Me within your form's code module I suspect you'll find that it does, indeed work.
Me. can only be used to reference the current form from within the code module for that form, and the Immediate Window is not part of that code module! It is a separate entity, for testing code.
To prove this
You will now see the Immediate Window with your
- Place your debug.Print Me!Ctype.Value statement in the Immediate Window
- Close your form
- Now go to Modules
- Open any module, or if you have none, click on Design
statement still intact. The Immediate Window is independent of this module as well.
Hope this helps!
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007