Label Captions

aziz rasul

Active member
Local time
Today, 15:40
Joined
Jun 26, 2000
Messages
1,935
How would I reference the caption of a control label if I wanted to iterate thru a set of label captions. Here's what I've been tryting so far, but it doesn't work: -

Dim i as Integer
Dim strLabel As String

strLabel = "Me.lbl" & i & ".Caption"
 
Hello:

You would reference a Label caption in the following fashion:

LabelName.Caption =

You would use the Controls Collection to seek out just the labels. An Example of this is in the Access Help.

Regards
Mark
 
I'll look into that. Thanks.
 

Users who are viewing this thread

Back
Top Bottom