G
Guest
I'm issuing a SendObject:
DoCmd.SendObject acSendNoObject, "notify email", , "email address here", , ,
"Automated Sales Call Statistics", strbody
the text message body variable I'm using is defined:
Public strbody as string
and I intialize it with
strbody = ""
when I construct the message, I always add "& vbcrlf" to the end of each
line to force a new line. The problem is that it is wrapping the text on
certain lines; it appears as if it's ignoring the VBCRLF. On other lines it
works fine. If I add two VBCRLF's to the end of each line, it double
spaces...example of wrapping the text is below
Mon 7/24/2006: 1 entries found in 1 leads Fri 7/21/2006: 0 entries found in
0 leads Thu 7/20/2006: 0 entries found in 0 leads Wed 7/19/2006: 3 entries
found in 3 leads Tue 7/18/2006: 3 entries found in 3 leads Mon 7/17/2006: 8
entries found in 4 leads Fri 7/14/2006: 4 entries found in 3 leads
I need it to appear as
Mon 7/24/2006: 1 entries found in 1 leads
Fri 7/21/2006: 0 entries found in 0 leads
Thu 7/20/2006: 0 entries found in 0 leads
Wed 7/19/2006: 3 entries found in 3 leads
Tue 7/18/2006: 3 entries found in 3 leads
Mon 7/17/2006: 8 entries found in 4 leads
Fri 7/14/2006: 4 entries found in 3 leads
other lines in the message look fine and they are all created using:
strbody = strbody & "text message line"
can anyone give me a hint what I'm doing wrong?
thanks in advance for your help!!
DoCmd.SendObject acSendNoObject, "notify email", , "email address here", , ,
"Automated Sales Call Statistics", strbody
the text message body variable I'm using is defined:
Public strbody as string
and I intialize it with
strbody = ""
when I construct the message, I always add "& vbcrlf" to the end of each
line to force a new line. The problem is that it is wrapping the text on
certain lines; it appears as if it's ignoring the VBCRLF. On other lines it
works fine. If I add two VBCRLF's to the end of each line, it double
spaces...example of wrapping the text is below
Mon 7/24/2006: 1 entries found in 1 leads Fri 7/21/2006: 0 entries found in
0 leads Thu 7/20/2006: 0 entries found in 0 leads Wed 7/19/2006: 3 entries
found in 3 leads Tue 7/18/2006: 3 entries found in 3 leads Mon 7/17/2006: 8
entries found in 4 leads Fri 7/14/2006: 4 entries found in 3 leads
I need it to appear as
Mon 7/24/2006: 1 entries found in 1 leads
Fri 7/21/2006: 0 entries found in 0 leads
Thu 7/20/2006: 0 entries found in 0 leads
Wed 7/19/2006: 3 entries found in 3 leads
Tue 7/18/2006: 3 entries found in 3 leads
Mon 7/17/2006: 8 entries found in 4 leads
Fri 7/14/2006: 4 entries found in 3 leads
other lines in the message look fine and they are all created using:
strbody = strbody & "text message line"
can anyone give me a hint what I'm doing wrong?
thanks in advance for your help!!