This topic is locked
[SOLVED]

Run Stored procedure immediately after save on Add or Edit form

12/22/2021 5:42:41 PM
PHPRunner General questions
Dalkeith author

As per the title

Is it necessary for me to have a custom button if I want to just run a procedure immediately a user has saved a record. (to include action on the information being added)

Or can I make use of the standard form events - eg after record added. I know how to use a custom button to call a stored procedure and run it.
Its just the standard from events don't seem to be three part.

Thanks in advance for any pointers

Sergey Kornilov admin 12/22/2021

Not easy to understand what exactly causes the trouble. Just add your code to AfterAdd event of that table.

Dalkeith author 1/7/2022

I solved it I hadn't realised that you could put php straight into the events tab.