Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

button click to send mail

Status
Not open for further replies.

MrWilson

Technical User
May 20, 2004
9
0
0
GB
I am trying to get a button to ammend field data and send a mail message only when the form is saved, but the button only has a click object so the mail sends before saving, is there another way of doing this ? thanks Dave

@Command([EditDocument]);

@Command([EditGotoField];"Require");@SetField("Require";@Today)

@IsDocBeingSaved;@SetField("Approved";@Name([CN];@UserName));"";@MailSend("Dave Wilson/";"";""; "Please erect scaffold on Work order --"+ WorkOrder;WorkOrder;"By the date required";[IncludeDoclink]);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top