<click this button>= emailfield1 and emailfield2, Subject, message,
How would I do this?
@If(@Command([FileSave]); @Do( @Command([CloseWindow]); @MailSend( emailfield1 ; emailfield2 ; ""; "A new document has been submitted" ; "";
"The new document can be reached using this link." ; [INCLUDEDOCLINK]) ); @StatusBar("Save unsuccessful"))
This code saves the document and if successfully saved, closes the document and sends the message with a link to the document.
Do you have comments on this Ask the Expert question and response? Let us know.
This was first published in July 2005