J
Jay
Is is possible to change the font size and bold attribute of a data
report/access report during run-time?
I can't seem to get it to work. The following code does not throw an error
but has no effect on the report outcome.
Thanks for any help with this!
'If the word OPTION appears in the description, bold and resize the font and
maybe change the forecolor
Private Sub myDescription_Format(ByVal DataValue As StdFormat.StdDataValue)
If InStr(1, DataValue.Value, "OPTION") Then
Me.Sections("cmdEstimateSpecsNew_Detail").Controls("txtDescription").Font.Bo
ld = True
Me.Sections("cmdEstimateSpecsNew_Detail").Controls("txtDescription").ForeCol
or = vbRed
Me.Sections("cmdEstimateSpecsNew_Detail").Controls("txtDescription").Font.Si
ze = 24
End If
End Sub
report/access report during run-time?
I can't seem to get it to work. The following code does not throw an error
but has no effect on the report outcome.
Thanks for any help with this!
'If the word OPTION appears in the description, bold and resize the font and
maybe change the forecolor
Private Sub myDescription_Format(ByVal DataValue As StdFormat.StdDataValue)
If InStr(1, DataValue.Value, "OPTION") Then
Me.Sections("cmdEstimateSpecsNew_Detail").Controls("txtDescription").Font.Bo
ld = True
Me.Sections("cmdEstimateSpecsNew_Detail").Controls("txtDescription").ForeCol
or = vbRed
Me.Sections("cmdEstimateSpecsNew_Detail").Controls("txtDescription").Font.Si
ze = 24
End If
End Sub