How to force a carraige return

Results 1 to 2 of 2

Thread: How to force a carraige return

  1. #1
    Join Date
    Dec 1969

    Default How to force a carraige return

    I am using Cdonts email component and i am transferring lots of text(3 page form)<BR><BR>I been using Chr(12) to drop down to the next line but its not working very well. <BR><BR>strbody = strbody & "Owner(s) Name: " + request.form("ownername") & chr(12)<BR><BR>I have that and when i use the chr(12) it does the first word and then brings the 2nd word down when its supposed to keep both words up. Like if i had John Smith. It would leave the John on the top line and Smith on the bottom.<BR><BR>Matt

  2. #2
    Ian Stallings Guest

    Default RE: How to force a carraige return

    use chr(13) & chr(10) or the constant<BR>vbNewLine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts