Announcement

Collapse
No announcement yet.

OnAfterInsert Event processing Still Processed

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • OnAfterInsert Event processing Still Processed

    Have a process that the user inserts a record and after sends the form results to users via email.
    Pretty standard huh..
    Well here is the thing..
    it is in the OnAfterInsert event..
    but it never inserted the record due to a field being mandatory in the database that wasn't mandatory on the form..
    Still sent the email, no records inserted...

    any idea on how to verify that the record was inserted?
    so I can wrap that email process into the verification..

    And Yes it was throwing an error on screen, but Lusers see the email and ignored...

    I was under the impression that the OnAfterIsert was an event that happened AFTER Inserting...

    Thoughts?

    Kevin

  • #2
    Try use the macro sc_commit() before you send the email..

    Comment


    • #3
      well thats what makes no sense.. why wshould i do that if it an AFTER INSERT Event??

      Comment


      • #4
        http://www.scriptcase.net/docs/en_us...c_commit_trans

        Comment

        Working...
        X