J
Jesse
In the detail section of my report I'm trying to make a wingdings "u", which
is a diamond appear if a "1" is present in a certain field. What ends up
happening is that it puts the diamond next to all names in the details
section if only one of them has a "1", instead of putting the diamond symbol
just next to the one name that has that value. The code looks like this:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If (Me.Bill_Type_Code = "1") Then
Me.lblDiamond.Caption = "u"
Else
Me.lblDiamond.Caption = " "
End If
End Sub
It's a Format Event Procedure. Bill_Type_Code is both a field in the data
set and a hidden bound control. What am I doing wrong?
is a diamond appear if a "1" is present in a certain field. What ends up
happening is that it puts the diamond next to all names in the details
section if only one of them has a "1", instead of putting the diamond symbol
just next to the one name that has that value. The code looks like this:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If (Me.Bill_Type_Code = "1") Then
Me.lblDiamond.Caption = "u"
Else
Me.lblDiamond.Caption = " "
End If
End Sub
It's a Format Event Procedure. Bill_Type_Code is both a field in the data
set and a hidden bound control. What am I doing wrong?