This topic is locked
[SOLVED]

Which code do I need ?

6/25/2022 4:01:38 PM
PHPRunner General questions
J
Jan author

Hello everyone,

I have this problem :
When I add a record to a table ( name + member number ) I want to print this record (so not the table, just the record I added).
So I want to write code in the event "after record added"
What code should I write ?
Thanks in advance

Sergey Kornilov admin 6/27/2022

We have an option for this, you can choose what to do after the record was added. You can choose to redirect the user to the View page of the new record so it can be printed.

fhumanes 6/27/2022

Hello,

I provide an example (as inspiration) that allows you to go to the print option from a button.

https://fhumanes.com/blog/guias-desarrollo/guia-14-phprunner-utilizar-varias-paginas-de-print/

Cheers,
fernando

J
Jan author 6/28/2022

Thanks for this useful information