|
-
Nov 4th, 1999, 04:33 AM
#1
Thread Starter
Lively Member
i have about 60 text box's on a form and i dont want to clear each one manually on refresh
text1.text = "" kind of thing
I know there is a way to do something like for every control on form1 text = "" or something ...
Thanks
Brooke
-
Nov 4th, 1999, 04:48 AM
#2
Try:
Code:
For Each Control In Me
If TypeOf Control Is Textbox Then Control.Text = ""
Next
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 4th, 1999, 04:57 AM
#3
Thread Starter
Lively Member
-
Oct 12th, 2013, 12:03 AM
#4
Member
Re: Clearing all textboxs on a form
Thank you for this code... Though i have code, i think this is good to my old one...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|