Brett Barabash
BBarabash at TappeConstruction.com
Tue Jun 24 12:29:36 CDT 2003
Dim lngCtr As Long
For lngCtr = 1 To 10
Me("Label" & lngCtr).Caption = "Hello, World!"
Next lngCtr
-----Original Message-----
From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com]
Sent: Tuesday, June 24, 2003 12:14 PM
To: 'AccessD'
Subject: [AccessD] Control Naming Conventions - Looping
Group,
Please don't ask why...but if I use the default naming scheme for labels
(Label1,Label2,Label3,etc.), is there a syntax available that allows looping
through those controls using a variable in that numerical sequence?
Thanks,
Mark
--------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.
Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Tappe Construction Co.
Scanning of this message and addition of this footer is performed
by SurfControl E-mail Filter software in conjunction with
virus detection software.