Insert vbcrlf from C/SIDE

I am creating a Outlook appointment, and want to control lf and cr in the notes field, when i create the appoint from Navision using automation controllers, how can I accomplish this?

I am not too sure what your automation code look like however you can manipulate CR/LF in NF by declaring 2 variables : CR as Char LF as Char And initialize them with the respective values like this : CR := 13; // Carriage Return - (Hex $0D) LF := 10; // Line Feed - (Hex $0A) Then you just have to use the CR and LF variables where requires Cheers, Tarek Edited by - Tarek Demiati on 2001 Aug 21 05:21:54

Thanks a lot it works great. My code is for an example (AppointmentItem is an Outlook Item): AppointmentItem.Subject:=‘Some Text’+FORMAT(CR);

It doesn’t make much difference here but to prevent mistakes, CR is ASCII 13 (h0D) and LF is ASCII 10 (h0A) John

John : You are right, it was a typo :slight_smile: I have now corrected my original post … tarek_demiati@ureach.com