This topic is locked

Editing multiple records

9/10/2009 11:21:03 AM
PHPRunner General questions
D
dpicky author

Is it possible (or anyone got a workaround) to edit multiple records in a list? What I'm after is for the user to tick multiple records in a list (like they would if they were going to export or print selected records), be able to enter/change several fields and then when they save it updates those fields for all the selected records.
I presume if it's not possible or been done before I need to copy the code from the export/print selected buttons.
Dave

Sergey Kornilov admin 9/10/2009

Dave,
here is the article that explains how this can be done:

http://www.xlinesoft.com/phprunner/docs/update_multiple_records.htm

I
indigo 9/11/2009

Is it possible to have an input field where we can add whatever is to be updated for multiple records?

So, one drop down to select a field to update, on input box to enter the value and a button to perform the update.
Most often, we would want to make it less rigid and provide more flexibility.
Is there a code that can be used for doing the above?

J
Jane 9/14/2009

Hi,
you can add new input in HTML mode on the Visual Editor tab, then pass it in the JavaScript code and check in your BeforeDelete event.