1 Reply Latest reply on Aug 29, 2014 9:12 AM by philmodjunk

    Send email script

    JodieWeston

      Title

      Send email script

      Post

           Hi there :)

           I'm wanting to set up a script that checks a field, and if it contains anything greater than 0, I would like to receive an email.... can anyone help?

           Thanks :)

        • 1. Re: Send email script
          philmodjunk

               "checks a field" in what? The current record? Or does it need to perform a find for all records in the field are greater than zero? Or all records where the value is greater than zero and you haven't previously been emailed?

               If your script just needs to check the field's value in the current record:

               If [YourTable::Field > 0 ]
                  Send Mail ....
               End If

               But that seems too simple...