P
PayeDoc
Hello All
I have a button that sets the text in a textbox, and the text needs to
include some carriage returns to give some new lines and blank lines. The
code I have is:
[Forms]![frmPDFFileName]![txtMessage].value = "Dear " & [prac mgr calling
name] & vbLf & _
"Please find attached P45 for " & [leavername] & ". Please note that these
'plain paper' P45s have been approved by HMRC, and replace the previous
'pre-printed stationery' versions which are to be phased out. &" _
& vbLf & vbLf & "Many thanks." & vbLf & [Forms]![frm x main]![Combo687] &
vbLf & "PayeDoc"
The problem is that the vbLf comes out as a thick vertical line within the
text, rather than a new line. Is there something else I can use?
Hope someone can help
Many thanks
Leslie Isaacs
I have a button that sets the text in a textbox, and the text needs to
include some carriage returns to give some new lines and blank lines. The
code I have is:
[Forms]![frmPDFFileName]![txtMessage].value = "Dear " & [prac mgr calling
name] & vbLf & _
"Please find attached P45 for " & [leavername] & ". Please note that these
'plain paper' P45s have been approved by HMRC, and replace the previous
'pre-printed stationery' versions which are to be phased out. &" _
& vbLf & vbLf & "Many thanks." & vbLf & [Forms]![frm x main]![Combo687] &
vbLf & "PayeDoc"
The problem is that the vbLf comes out as a thick vertical line within the
text, rather than a new line. Is there something else I can use?
Hope someone can help
Many thanks
Leslie Isaacs