After update delete text of another control

mapondera

Registered User.
Local time
Today, 18:44
Joined
Sep 12, 2001
Messages
33
I want to use the following statement in my "afterupdate" event code for [control1]:

If [control1].Text = "No" Then [control2].Text = __

What do I use to make the text in [control2] disappear?
 
Thanks,
In fact, I had to use
If [control1].text = "No" then [control2] = ""

When I tried [control2].text = "" I got the error message that I cannot reference a control if it does not have the focus.
 

Users who are viewing this thread

Back
Top Bottom