F
fryere
I am trying to use label ctrls to represent data in a
table. Each ctrl would represent one record.
Here is a Table layout:
lblName Test
XPos Single
YPos Single
I will have a label ctrl for each Record, and I want to
loop through the record set and set each lbl ctrl to the
X&Y position in the table. My Problem is that the only
way I can make it work is by looping through all of the
controls until the ctrl.name =RS!lblname for each record
in the table. I would like set up a control varible and
somehow set it to the current record in the record set.
BTW: Creating new controls with Createcontrol() won't work
because I need code for an on click event. Unless someone
knows how to create code on the fly.
Any help would be greatly appreciated.
fryere
table. Each ctrl would represent one record.
Here is a Table layout:
lblName Test
XPos Single
YPos Single
I will have a label ctrl for each Record, and I want to
loop through the record set and set each lbl ctrl to the
X&Y position in the table. My Problem is that the only
way I can make it work is by looping through all of the
controls until the ctrl.name =RS!lblname for each record
in the table. I would like set up a control varible and
somehow set it to the current record in the record set.
BTW: Creating new controls with Createcontrol() won't work
because I need code for an on click event. Unless someone
knows how to create code on the fly.
Any help would be greatly appreciated.
fryere