* Verify that a table is open in the current work area IF !this.parent.signon() && Use the custom method RETURN ENDIF IF this.parent.LogSession && Check if the user was able to login this.parent.OleMMess.sessionid=this.parent.OleMSess.sessionid * Start a new mail message and build the text this.parent.OleMMess.compose THIS.PARENT.OleMMess.recipdisplayname=this.Parent.c_recip this.parent.OleMMess.msgnotetext=this.Parent.c_context this.parent.OleMMess.msgsubject=this.Parent.c_subj this.parent.OleMMess.attachmentname="ADD.TXT" this.parent.OleMMess.attachmentpathname="d:\\dtd40x" this.parent.OleMMess.send(1) IF this.parent.logsession this.parent.OleMSess.signoff ENDIF && Session Handle test ENDIF && Login TestHowever, my prog post a message error about attached files.