TheSearcher
Registered User.
- Local time
- Today, 11:19
- Joined
- Jul 21, 2011
- Messages
- 304
Hi All,
I use the following code all the time to render my text boxes invisible:
However, now I want to clear all text boxes on my form. If I use cControl.value = "" I get an error.
Any ideas?
Thanks,
TS
I use the following code all the time to render my text boxes invisible:
Code:
Dim cControl As Control
For Each cControl In Me.Controls
If cControl.Name Like "text*" Then cControl.Visible = False
Next
However, now I want to clear all text boxes on my form. If I use cControl.value = "" I get an error.
Any ideas?
Thanks,
TS