What event to change a controls visible property

From: Gerald Stanley (gcstanley_at_d-s-l.pipex.comREMOVE-)
Date: 09/24/04


Date: Fri, 24 Sep 2004 09:45:53 -0700

The code should go into the AfterUpdate eventhandler of
txtAnswer.
The Visible property should be set to True or False not Yes
or No.

Hope This Helps
Gerald Stanley MCSD
>-----Original Message-----
>Hello
>
>I am trying to set a controls visible property depending
on the contents of
>a text box.
>
>I have the following simple If/Else statement:
>
>If Me.txtAnswer = "multiple" Then
>Me.txtAddAnswer.Visible = yes
>Else
>Me.txtAddAnswer.Visible = no
>End If
>
>Will this code work ? What Event would this go in. Itried
several an can not
>get it to work proberly.
>
>Thanks for your help
>Brian
>.
>