Sorted it
thank you all for assistance


On Wed, Nov 26, 2014 at 2:49 PM, Andrew Stirling <[email protected]>
wrote:

> Hi Sytze
> For each of the newlines that work you have +Chr(13)+Chr(10)
> The ones that do not work are +Chr(13)+Chr(13)+Chr(10)
> So get rid oh a +Chr(13)
> Maybe to get a blank line you need
>  lcBody=lcBody+" "+Chr(13)+Chr(10)
>
> Kind regards
>
> Andrew Stirling
> 01250 870397 / 874580
> [email protected]
> http://www.calcpay.co.uk
>
>
> On 26/11/2014 01:23, Sytze de Boer wrote:
>
>> In one of my systems, my clients can send car maintenance reminders
>>
>> The message is sent to their Outlook system for emailing.
>>
>> The process goes
>> lcSubject="Warrant/Service reminder - DUE - "+Dtoc(wofdate)         &&
>> subject
>>
>> lcBody="Dear Customer"+Chr(13)+Chr(13)+Chr(10)
>> lcBody=lcBody+"This is a friendly "+Iif(wofrems.woftype='S','Service
>> reminder','Warrant of Fitness reminder')+Chr(13)+Chr(13)+Chr(10)
>> lcBody=lcBody+"Make : "+Make+Chr(13)+Chr(10)
>> lcBody=lcBody+"Model: "+model+Chr(13)+Chr(10)
>> lcBody=lcBody+"Rego : "+rego+Chr(13)+Chr(10)
>> lcBody=lcBody+"Year : "+Year+Chr(13)+Chr(10)
>> lcBody=lcBody+"Date : "+Dtoc(wofdate)+Chr(13)+Chr(10)
>>
>> The message which is sent is fine except it does not respect the line
>> feeds
>> after Dear Customer, nor the 2nd line
>> So it means, the line reads
>> Dear CustomerThis is a friendly Service reminderMake: Honda  (new line)
>> Model: Accord  (new line)
>> Rego: 123456  (new line)
>> etc
>>
>> I have clipped the lcBody to the clip board and pasted into a notepad txt
>> file and it is perfect.
>>
>>
>> Does anyone have suggestions how I might overcome this problem?
>>
>>
> ---
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
> http://www.avast.com
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAG1nNy8-docgY+HPgAqMP2s5X1w3ipuPkR=czddtgrp2q9+...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to