Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2005
    Posts
    25

    Unanswered: MessageText problem

    I have a SendObject method (vb) and I want more than one line of text in the MessageText part. How can you accomplish this?

  2. #2
    Join Date
    Feb 2005
    Posts
    19
    Have you tried "text" & vbcrlf & "text ?

  3. #3
    Join Date
    Feb 2005
    Posts
    25
    Yeah, i tried that before but it didn't work but strangely now it works.
    thnx

  4. #4
    Join Date
    Feb 2005
    Posts
    25
    DoCmd.SendObject , , , fldemail.Value, , , "Nieuw Lara-wachtwoord", "Uw login-wachtwoord voor Lara is gewijzigd" & vbCrLf & "Deze zal morgen ingaan om half 9" & vbCrLf & "" & vbCrLf & "Hierbij is uw nieuwe wachtwoord gemaild." & vbCrLf & "" & vbCrLf & "Username :" & flduser.Value & vbCrLf & "Wachtwoord :" & fldpassw.Value

    strangely it gives this output :

    Uw login-wachtwoord voor Lara is gewijzigd Deze zal morgen ingaan om half 9

    Hierbij is uw nieuwe wachtwoord gemaild.

    Username :*******
    Wachtwoord : ****

    Why doesn't Deze zal morgen ingaan om half 9 begin on a new line?

  5. #5
    Join Date
    Feb 2005
    Posts
    20
    hi

    perhaps you should try "text1" & chr(13) & "text2"

    chr(13) should be a carriage return line feed
    if it doesn't work try chr(10)

    cheers

Posting Permissions

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