Button to save the form and navigate to another form.

I need to make a button that will submit my current form and then navigate to another form. I know how to navigate to another form using sc_redir, but how do I save/submit the current form?

Hi cnbrammer,

You should use sc_commit_trans() before the update/insert/submit. This makes sure all the code runs before you redirect.

I hope I helped!