Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2004
    Posts
    22

    Question Unanswered: DTS Active X - Carriage Return

    I want to add a carriage return in ActiveX to seperate lines... IE:

    This currently appears in 1 line in the email message.

    Mail.Body = "Error creating template : " + DTSGlobalVariables("DirectoryOut").Value + " Error Message: " + DTSGlobalVariables("ErrorMessage").Value

    I want it to appear in seperate lines... like so.

    Error creating template : templatename
    Error Message: Message

    backslash n doesn't work, can I put an ASCII character in there? (code 13?)

  2. #2
    Join Date
    Sep 2004
    Posts
    22
    Never mind... I answered my own question.

    Mail.Body = "Error creating template : " + DTSGlobalVariables("DirectoryOut").Value + CHR(13) + " Error Message: " + DTSGlobalVariables("ErrorMessage").Value

Posting Permissions

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