A Font Question

R

Robert

Does anyone know how to write an expression that will cause a value to become
bold if it enters the negative. For example, if I have a dollar value in a
text box, and it goes into the negative, is there a way to make it become
bold automatically? Thanks.
 
R

REC

Try placing this code in your form's "On Current" event:

If Me.YourTextName < 0 Then
Me.YourTextName.FontBold = True
Else
Me.YourTextName.FontBold = False
End If
 
Top