how can i change the font size of text box in conditional formatting in Access report
how can i change the font size of text box in conditional formatting in Access report
Quick answer from the web:
With Me.thetextbox
If <condition> Then
.FontSize = 12
.ForeColor = vbRed
.FontWeight = 700
Else
.FontSize = 10
.ForeColor = vbGreen
.FontWeight = 400
End If
End With
you can't with conditional formatting. Gina's suggestion will work for single reports, but will affect all rows in a continuous report.
Ajax, are you confusing report with form?
Code in report OnFormat event of the section containing the controls should dynamically set font based on parameter. Works for me. But only for PrintPreview or direct to printer. ReportView does not trigger Format event.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
think I am!