Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Forward Document and putting in email address

3 views
Skip to first unread message

Bryan.Sc...@walsworth.com

unread,
Jan 11, 2001, 4:19:25 PM1/11/01
to
I need to create a button in a form that will do the following:

1. Take the document and put it in a new email message.
2. Put a specific email address in the SendTo: field.
3. Allow the user to put some text in the body to tell the
recipient what needs to change.

I tried using the .Forward method, but then I am not able to put
anything in the SendTo field.

I tried using the RenderToRTItem method but it is goofy; sometimes
(like in debug mode) it works, other times it doesn't.

This should be a piece of cake. Any help would be greatly appreciated.


Sent via Deja.com
http://www.deja.com/

Jörg Schlusemann

unread,
Jan 12, 2001, 8:59:58 AM1/12/01
to
two things:
1. Macro solution:
rem copy the email-address from the current document field "FieldXY"
@PostedCommand([EditGotoField]; "FieldXY");
@PostedCommand([EditSelectAll]);
@PostedCommand([EditCopy]);
rem save the current document
@PostedCommand([FileSave]);
@PostedCommand([EditDocument]; "0");
@PostedCommand([MailForward]);
@PostedCommand([EditGotoField]; "SendTo");
@PostedCommand([EditPaste]);
@PostedCommand([EditGotoField]; "Body");

2. rendertorichtextitem
Works only good if one form in your application is the default-form.
(regardless which one) The hint is from the Lotus KnowledgeBase.
Don't ask me why, I have no idea :-)

regards
Joerg
<Bryan.Sc...@Walsworth.Com> schrieb im Newsbeitrag
news:93l80h$r3i$1...@nnrp1.deja.com...

0 new messages