Manage Learn to apply best practices and optimize your operations.

E-mail an Attachment from a Document

I have a graphics database which contains quite a few attachments. At times some employees wish to e-mail these graphic files to publishers etc. Rather than advising the user to detach the file and then re-attach into a memo, I wanted to create a button that would do this for them with out detaching the file. This is the code I came up with. This button must exsist with the form.


 @Command([EditDocument]); @Command([EditGotoField]; "Attachment"); @Command([EditSelectAll]); @Command([EditCopy]); @Command([EditDocument]); @Command([MailComposeMemo]); @Command([EditGotoField]; "Body"); @Command([EditPaste]); @Command([EditGotoField]; "SendTo")

Dig Deeper on Domino Resources - Part 4

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...