How 2 duplicate a grid-row into a new record

Dear All,

How can I create a button to duplicate the active record in a multiline-form or in a grid.
In the documentation i found the sc_exec_sql macro. I know how to create the proper SQL Statement.
But how to fire the event??

So if anybody has an idea… please help!

Best regards from good old Hamburg

Stefan

Re: How 2 duplicate a grid-row into a new record

Create a PHP button and execute the code

Regards,
Scott.

Re: How 2 duplicate a grid-row into a new record

You can you add you code in beforeInsert Event and if you want to ignore default Activerecord code…! use sc_redir to the same form

Dhana