M
Mike
Hi. I need to add an image to the detail section of a subform, and then
toggle it's Visibility based on another value in that particular record. The
loop I build to do this only seems to read the FIRST detail section record
(shown below). How can my loop read each record in the detail section?
Dim ctl As Control
For Each ctl In Me.Detail.Controls
If (ctl.Name = "imgPendingRenew") Then
ctl.Visible = RenewIsPending(Me.txtUniqueID)
End If
Next
Thanks!
toggle it's Visibility based on another value in that particular record. The
loop I build to do this only seems to read the FIRST detail section record
(shown below). How can my loop read each record in the detail section?
Dim ctl As Control
For Each ctl In Me.Detail.Controls
If (ctl.Name = "imgPendingRenew") Then
ctl.Visible = RenewIsPending(Me.txtUniqueID)
End If
Next
Thanks!