rudym88 Posted September 17, 2010 Posted September 17, 2010 Hi all, I have a script that will send an record via email. I also create a table where a record is added every time an email is sent. On the second table I have a "result" field where I would like to enter either "successful" or "unsuccessful". Does anyone know how do this when using "send mail". Thanks RudyM
Matt Leach Posted September 17, 2010 Posted September 17, 2010 (edited) My database has a similar function. I have a field for result, script looks something like this: SetError Capture [On] perform sending of email If [Get( LastError ) = 0] Set Field [resultfield; "Successful"] Else Set Field [resultfield; "Unsuccessful"] End If Commit Records/Requests Edited September 17, 2010 by Guest
Recommended Posts
This topic is 5181 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now