[AccessD] Making Labels Visible & Invisible

paul.hartland at fsmail.net paul.hartland at fsmail.net
Thu Dec 4 07:23:58 CST 2003


To all,
 
I have a group of labels on a form called lblComment1 through to lblComment15, and what I want to do is in the OnCurrentEvent make them all invisible.  I don’t really want to have to type
 
Me.lblComment1.Visible = False
 
etc for every label



 
Is there a way I can do this in a loop, or make the labels into an array and loop through them that way.
 
Thanks in advance for any help on this.
 
Paul Hartland
Freeserve AnyTime - HALF PRICE for the first 3 months - Save £7.50 a month 
www.freeserve.com/anytime


More information about the AccessD mailing list