Solved

Dealing with arrays in VB5. Databse.

Posted on 1998-09-28
3
123 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now