L
Laurel
Is there a way to suppress the display of the decimal value in a percentage
format if it is 0? The situation is that I don't want to display 99.96334%
as 100%, but neither do I want to display all of the 100% values as 100.0%.
Any ideas? Conditional formatting seems to apply only to colors and
bolding/italucs.
Lynn Trapp's suggestion in "Pulling my hair out" looks promising, but I
don't know how to specify the number of decimals in a percentage format. (I
don't know how to reference an individual column, either, but I'm thinking
maybe that's just a memory lapse....)
"Assuming the name of your checkbox on the form is cboApplies then you can
put this in the Format event of your reports Detail section.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.cboApplies = -1 Then
Me.cboApplies.Visible = True
Else
Me.cboApplies.Visible = False
End If
End Sub"
format if it is 0? The situation is that I don't want to display 99.96334%
as 100%, but neither do I want to display all of the 100% values as 100.0%.
Any ideas? Conditional formatting seems to apply only to colors and
bolding/italucs.
Lynn Trapp's suggestion in "Pulling my hair out" looks promising, but I
don't know how to specify the number of decimals in a percentage format. (I
don't know how to reference an individual column, either, but I'm thinking
maybe that's just a memory lapse....)
"Assuming the name of your checkbox on the form is cboApplies then you can
put this in the Format event of your reports Detail section.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.cboApplies = -1 Then
Me.cboApplies.Visible = True
Else
Me.cboApplies.Visible = False
End If
End Sub"