[AccessD] VB.Net labels Collection

David Emerson newsgrps at dalyn.co.nz
Sun Apr 23 13:37:35 CDT 2006


In Access it is possible to refer to objects by concatenating 
strings.  For example, to refer to 3 text boxes on a report you could write:

             For intX = 1 To 3
                 Me("txtCol" + Format(intX)) = "Column No:" & intX
             Next intX

I am wanting to do a similar thing in a page in Visual Web Developer 
Express.  I have three labels called lblYrEndStart1, lblYrEndStart2, 
and lblYrEndStart3.  Any ideas how I can write a similar loop as above


Regards

David Emerson
Dalyn Software Ltd
New Zealand 




More information about the AccessD mailing list