A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

'Sendmessage' to Outlook puts extra space before carriage return



 
 
Thread Tools Display Modes
  #1  
Old June 10th, 2005, 12:24 PM
leicklda
external usenet poster
 
Posts: n/a
Default 'Sendmessage' to Outlook puts extra space before carriage return

Does anyone know how I can get an Access/Outlook translation to not put
a space character before each carriage return in a memo field? I am
populating my database's memo field "Notes" with the text I want to go
into my email. I then use the sendmessage command in VB to take this
text and put it into a new Outlook email. The problem is that once the
text goes into the email message, a space character has been inserted
at the end of each line which has a hard return in the memo field.
This space is definitely not there in the original memo field's text.
This dangling space character causes my Outlook grammar check to show a
little green line at the end of each paragraph which means "extra
space".

For example - this is the text in the Access memo field:
"This is sentence one.
This is sentence two"

Turns into - this is the imported text in the Outlook message:
"This is sentence one.
This is sentence two"

The second example has a space character after the word "one" and the
first example does not" Normally this wouldn't matter but the grammar
check makes it look awful with its little green lines et the end of
each paragraph (and we want to keep the automatic grammar check on).

Here is the relevant code:

EmailBody = Nz(frm.Notes, "")
SendMessage Recp, RecpCC, RecpBCC, EmailSubject, EmailHeader &
EmailBody & EmailSig, NumAttach, EmailAttach()

Thanks in advance for any help.
Darleen

  #2  
Old June 10th, 2005, 02:15 PM
Sharkbyte
external usenet poster
 
Posts: n/a
Default

You may not really need to remove the spaces. When receiving an email, and
reading it, Grammar Checker is not looking over what the person sent. So the
extra space, like your example in this post, will never get seen/noticed.

Just a thought.

Sharkbyte




"leicklda" wrote:

Does anyone know how I can get an Access/Outlook translation to not put
a space character before each carriage return in a memo field? I am
populating my database's memo field "Notes" with the text I want to go
into my email. I then use the sendmessage command in VB to take this
text and put it into a new Outlook email. The problem is that once the
text goes into the email message, a space character has been inserted
at the end of each line which has a hard return in the memo field.
This space is definitely not there in the original memo field's text.
This dangling space character causes my Outlook grammar check to show a
little green line at the end of each paragraph which means "extra
space".

For example - this is the text in the Access memo field:
"This is sentence one.
This is sentence two"

Turns into - this is the imported text in the Outlook message:
"This is sentence one.
This is sentence two"

The second example has a space character after the word "one" and the
first example does not" Normally this wouldn't matter but the grammar
check makes it look awful with its little green lines et the end of
each paragraph (and we want to keep the automatic grammar check on).

Here is the relevant code:

EmailBody = Nz(frm.Notes, "")
SendMessage Recp, RecpCC, RecpBCC, EmailSubject, EmailHeader &
EmailBody & EmailSig, NumAttach, EmailAttach()

Thanks in advance for any help.
Darleen


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Contacts from Work to Home Computer in Outlook Debbie Contacts 3 March 16th, 2005 09:14 PM
access Outlook data from new desktop Catcha Installation & Setup 0 February 26th, 2005 06:21 AM
Bug? Outlook 2003 can't handle LDAP, but Outlook Express 6 could?? Thomas H General Discussion 7 August 6th, 2004 07:30 PM
HELP!! Outlook's Misbehaving-Ways: Viewing Email Appears Impossibl RunningHoove Installation & Setup 1 July 9th, 2004 04:13 PM
Newbie Question on Extra Space After Numeric Values Yellowbird Worksheet Functions 3 March 8th, 2004 05:40 PM


All times are GMT +1. The time now is 11:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.