It is the line that contains (--) in the beginning DECLARE
objOutlook OLE2.OBJ_TYPE; objMail OLE2.OBJ_TYPE; objArg OLE2.LIST_TYPE; mail varchar2(2000); alert_button NUMBER; BEGIN objOutlook := OLE2.CREATE_OBJ('Outlook.Application'); objarg := OLE2.CREATE_ARGLIST; OLE2.ADD_ARG(objarg,0); objMail := OLE2.INVOKE_OBJ(objOutlook,'CreateItem',objarg); OLE2.DESTROY_ARGLIST(objarg); OLE2.SET_PROPERTY(objmail,'To',:TO); OLE2.SET_PROPERTY(objmail,'Subject',:SUBJECT); OLE2.SET_PROPERTY(objmail,'Body',:mail); OLE2.INVOKE(objmail,'Send'); --OLE2.INVOKE(objmail,'Display'); OLE2.RELEASE_OBJ(objmail); OLE2.RELEASE_OBJ(objOutlook); Message('Votre message a été envoyé avec succés..............'); Message('Votre message a été envoyé avec succés.............'); END; Lynda -----Message d'origine----- De : Abdul Aleem [mailto:[EMAIL PROTECTED]] Envoyé : samedi 5 octobre 2002 12:08 À : Multiple recipients of list ORACLE-L Objet : RE: ora-305500 Thank you Lynda, but my computer didn't show the line in red (fat). May be if you could use some special characters to highlight it. Thank you once again! Aleem -----Original Message----- Sent: Saturday, October 05, 2002 4:33 PM To: Multiple recipients of list ORACLE-L Subject: Re: ora-305500 Hi, If the code used to send the message is identical to that to the under, then I have solved the problem by suppressing the line in red (fat)of the code. DECLARE objOutlook OLE2.OBJ_TYPE; objMail OLE2.OBJ_TYPE; objArg OLE2.LIST_TYPE; mail varchar2(2000); alert_button NUMBER; BEGIN objOutlook := OLE2.CREATE_OBJ('Outlook.Application'); objarg := OLE2.CREATE_ARGLIST; OLE2.ADD_ARG(objarg,0); objMail := OLE2.INVOKE_OBJ(objOutlook,'CreateItem',objarg); OLE2.DESTROY_ARGLIST(objarg); OLE2.SET_PROPERTY(objmail,'To',:TO); OLE2.SET_PROPERTY(objmail,'Subject',:SUBJECT); OLE2.SET_PROPERTY(objmail,'Body',:mail); OLE2.INVOKE(objmail,'Send'); --OLE2.INVOKE(objmail,'Display'); OLE2.RELEASE_OBJ(objmail); OLE2.RELEASE_OBJ(objOutlook); Message('Votre message a été envoyé avec succés..............'); Message('Votre message a été envoyé avec succés.............'); END; Lynda -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: SIM/HAOUHACH INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Abdul Aleem INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: SIM/HAOUHACH INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).