Could you pipe the report through unix2dos to add the line feeds? Ray.
-----Original Message----- From: Bob Witney [mailto:[EMAIL PROTECTED] Sent: 04 July 2005 14:20 To: U2-Users (E-mail) Subject: [U2] spool images going to word documents I am building an email as follows to send a report as a word attachment via sendmail from aix 5.2 (Universe 10) REC<-1> = '<html xmlns:o="urn:schemas-microsoft-com:office:office"' REC<-1> = 'xmlns:w="urn:schemas-microsoft-com:office:word"' REC<-1> = 'xmlns="http://www.w3.org/TR/REC-html40">' REC<-1> = '<head>' REC<-1> = '<meta http-equiv=Content-Type content="text/html; charset=windows-1252">' REC<-1> = '<meta name=ProgId content=Word.Document>' REC<-1> = '<meta name=Generator content="Microsoft Word 9">' REC<-1> = '<meta name=Originator content="Microsoft Word 9">' REC<-1> = '<!--[if gte mso 9]><xml>' REC<-1> = ' <o:DocumentProperties>' REC<-1> = ' <o:Category>TLOG</o:Category>' REC<-1> = ' </o:DocumentProperties>' REC<-1> = '</xml>' REC<-1> = '</head>' REC<-1> = '<body>' REC := @FM:DATAREC - where DATAREC is the record from the spoolq REC<-1> = '</body>' REC<-1> = '</html>' It arrives as a word attatchment, the only problem is that when i open it with Word i have one lone string of characters and have lost all the line breaks I suspect that I need to pass a line feed of some sort into word but the usual char(10) and char(13) do not do the trick Has anyone seen this before and found a fix ? Many thanks Bob ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the confidential use of the above named recipient. If you are not the intended recipient or person responsible for delivering it to the intended recipient, you have received this communication in error and must not distribute or copy it. Please accept the sender's apologies, notify the sender immediately by return e-mail and delete this communication. Thank you. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/