Is there some reason you can't use two text boxes?
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
Thanks for the pointer. The following code, while simple, is working -
except that I want to right align the text (Text186). I'm not sure that
is possible. The value for Me.CurrentX seems to force a left align.
Private Sub PageHeader0_Print(Cancel As Integer, PrintCount As Integer)
Me!Text186.Visible = False
With Me
.ScaleMode = TWIPS
.FontBold = True
.CurrentX = Me!Text186.Left
.CurrentY = Me!Text186.Top
Me.Print "Client Ref : ";
.FontBold = False
Me.Print Me!Text186
End With
End Sub
message Um, that would make everything in the text box bold, Dave, not just
"LabelName: "
Stephen Lebans has some examples of how to mix Bold and Plain at
http://www.lebans.com/mixbold-plain.htm
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
In design mode, select the label and open the properties dialog.
select the
format property and look for the Font Weight property. Select what
you want
from the dropdown.
--
Dave Hargis, Microsoft Access MVP
:
I have a text field on a report that is the concatenation of a label
and a
field name. How can I bold the label portion? e.g.
Text111 = "LabelName: " & [FieldName]
LabelName portion should print in bold