Mitsules, Mark
Mark.Mitsules at ngc.com
Tue Jun 24 12:42:13 CDT 2003
Thank you Brett/John,
For the life of me I kept trying all the wrong approaches. The parens were
the pieces I was missing. That, and I was also placing an extra period
after "Me".
< Me("Label" & lngCtr).Caption
Thanks again,
Mark
-----Original Message-----
From: Brett Barabash [mailto:BBarabash at tappeconstruction.com]
Sent: Tuesday, June 24, 2003 1:30 PM
To: 'accessd at databaseadvisors.com'
Subject: RE: [AccessD] Control Naming Conventions - Looping
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.
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com