Change FontName in Text box

L

Lamar

I just want change the font for only field in a text box. See my expression
below. Everything else appears but I get a "0" for
([cmbStaffName].[FontName]="Edwardian Script ITC") part of my expression. Is
this possible?

=CanShrinkLines("Sincerely, " & Chr$(13) & Chr$(10) &
([cmbStaffName].[FontName]="Edwardian Script ITC") & Chr$(13) & Chr$(10) &
[cmbStaffName])

Thanks for any help.

Lamar
 
M

Marshall Barton

Lamar said:
I just want change the font for only field in a text box. See my expression
below. Everything else appears but I get a "0" for
([cmbStaffName].[FontName]="Edwardian Script ITC") part of my expression. Is
this possible?

=CanShrinkLines("Sincerely, " & Chr$(13) & Chr$(10) &
([cmbStaffName].[FontName]="Edwardian Script ITC") & Chr$(13) & Chr$(10) &
[cmbStaffName])


No can do. The FontName property applies to the entire text
box, not to part of it. If this is an important feature,
you will need to use a third party control such as the RTF
control at www.lebans,com
 
Top