J
John W. Vinson
I have tried:
Me.Textname.Visible = False in the text box Lost Focus event, and also
on the Got Focus event, but it is still visible on the form.
Am I using the code in the wrong place for this?
Thanks
What exactly are you trying to accomplish? At what point should the box be
visible, and when not?
I'm pretty sure you cannot make it invisible while it has the focus, so in
addition to being a very odd event to choose (make it vanish when you click on
it!?) it probably won't work! If its visibility depends on its contents, then
the textbox's AfterUpdate event and the form's Current event would seem to be
more appropriate.
--
John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/Forums/en-US/accessdev/
http://social.answers.microsoft.com/Forums/en-US/addbuz/
and see also http://www.utteraccess.com