S
SME
Hello!
I would like to make one label (paragraph) visible based
on a value in a detail row. While I can do this if there
is only one value, a problem arises when I have more than
two detail rows, each with a different value.
For example,
Group Header: Company Name
Detail: specialFlag = false
Detail: specialFlag = true
Group Footer: If special flag true have this label
(paragraph) visible. -- I have several paragraphs in the
footer section ... I only want one to appear/not appear
based on the detail value.
How to I get the paragraph to be visible/not visible if
there are *any* rows with a true value?
The code which works if there is only one detail row is
below.
MTIA
Private Sub GroupFooter0_Print(Cancel As Integer,
PrintCount As Integer)
If Me.specialFlag = True Then
Me.PRIORITYTEXT.Visible = True
Else
Me.PRIORITYTEXT.Visible = False
End If
End Sub
I would like to make one label (paragraph) visible based
on a value in a detail row. While I can do this if there
is only one value, a problem arises when I have more than
two detail rows, each with a different value.
For example,
Group Header: Company Name
Detail: specialFlag = false
Detail: specialFlag = true
Group Footer: If special flag true have this label
(paragraph) visible. -- I have several paragraphs in the
footer section ... I only want one to appear/not appear
based on the detail value.
How to I get the paragraph to be visible/not visible if
there are *any* rows with a true value?
The code which works if there is only one detail row is
below.
MTIA
Private Sub GroupFooter0_Print(Cancel As Integer,
PrintCount As Integer)
If Me.specialFlag = True Then
Me.PRIORITYTEXT.Visible = True
Else
Me.PRIORITYTEXT.Visible = False
End If
End Sub