K
kbrad
On a form I want to display a price field in bold if it is zero.
I have tried the following code in the AfterUpdate event of the field but
have found that the prices on all the displayed records change to bold not
just the one that is zero.
If Me.Price = 0 Then
Me.Price.FontBold = True
Else
Me.Price.FontBold = False
End If
Can anyone suggest how to get just the zero record in bold?
I have tried the following code in the AfterUpdate event of the field but
have found that the prices on all the displayed records change to bold not
just the one that is zero.
If Me.Price = 0 Then
Me.Price.FontBold = True
Else
Me.Price.FontBold = False
End If
Can anyone suggest how to get just the zero record in bold?