[SOLVED]Form (Multiple Record) Insert onAfterInsertAll Issue

Hi,

If you add sc_redir macro to onAfterInsertAll event of a multiple record form, it does not insert records to database. Form gives no error but redirects as expected.

SC Version: 7.01.0012 (Professional Edition MySQL)

Works as defined … Use sc_commit_trans() before sc_redir().

[SOLVED] Form (Multiple Record) Insert onAfterInsertAll Issue

Thank you!

OBS. If your connection uses transaction control the use of this macro on the events onAfterInsert, onafterupdate, onAfterDelete, onBeforeInsert, onbeforeupdate or onBeforeDelete should come after the use of macro sc_commit_trans so this way it will save the form changes.

Issue solved.