bjgolden80
Programmer
Is it possible to use two different font sizes within one report field ?
thanks.
thanks.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim strFirst As String
Dim strLast As String
Dim intLeft As Integer
Dim intTop As Integer
strFirst = Left(Me.txtFullName, InStr(Me.txtFullName, " ") - 1)
strLast = Mid(Me.txtFullName, InStr(Me.txtFullName, " ") + 1)
Me.CurrentX = Me.txtFullName.Left
Me.CurrentY = Me.txtFullName.Top
Me.ForeColor = vbRed
Me.FontSize = 8
Me.Print strFirst & " "
Me.ForeColor = vbGreen
Me.FontSize = 12
Me.CurrentY = Me.txtFullName.Top
Me.Print strLast
End Sub