Solved

Dealing with arrays in VB5. Databse.

Posted on 1998-09-28
3
127 Views
Last Modified: 2010-04-30
Assuming I have two or more textboxes on a form, index 0,1. How do I hide or show these using the with statement.
Please?

Thank you.
0
Comment
Question by:jstccean
  • 2
3 Comments
 

Author Comment

by:jstccean
ID: 1436938
I thank this community for allowing me to participate.
0
 
LVL 12

Accepted Solution

by:
fulscher earned 20 total points
ID: 1436939
With Text(0)
  .Visible = True
End with

Or

For i = 0 to 1
  With Text(i)
     .Visible = False
  End with
end for
0
 

Author Comment

by:jstccean
ID: 1436940
I thank you.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question