Hi,
I have a listpage 'vwauditbysupplierproductslist' based on a view with the 'Multi-page'-update enabled.
When I selected multiple records on the listpage and when I than select the button 'update selected records', only 1 record is updated (the first). The other records are not updated.
I have the following script on the 'Row_Updating' server event:
$sql = "
UPDATE auditDatasets
SET
assignedTo = '". $rsnew['assignedTo'] . "'
WHERE id = '". $rsold['auditDatasetsID'] . "';
";
ew_Execute($sql);
$this->setSuccessMessage("Done");
$this->Page_Terminate("vwauditbysupplierproductslist.php"); // return to List page
return FALSE;
=============================================================
Can someone please assist, so I can multi-update all selected records of this view?
Thx!!