This topic is locked
[SOLVED]

 Change the Delete Query in list page

7/7/2010 4:04:16 AM
PHPRunner General questions
L
Leo086 author

Hey All ,

i have a list page which reads from a "View" Not "Table" , and there is an option to select a row and delete it from that page , but since its a page that reads from a view, i got an error on deleting .

How can i change the delete query on that page so i can delete from the table ?!

advice please

A
ann 7/7/2010

Leo,
use Before record deleted event (on the Events tab) to remove record from initial table manually and return false in this event to prevent deleting records in the view.

L
Leo086 author 7/8/2010



Leo,
use Before record deleted event (on the Events tab) to remove record from initial table manually and return false in this event to prevent deleting records in the view.


Yeah thanks <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=51056&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> .. thats work fine for me <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=51056&image=2&table=forumreplies' class='bbc_emoticon' alt=':D' />