This topic is locked

New button on List screen

7/23/2010 4:26:22 PM
ASPRunnerPro General questions
L
luic author

I want to add a button on the list screen and use the same logic and delete selected button. Instead of deleting multiple records, I want to do multiple record updates based on the selected records on the list screen. Can you provide me sample code how to do this?
Thanks.
Chris.

L
luic author 7/26/2010



Chris,
here is helpful article:

http://xlinesoft.com/asprunnerpro/docs/update_multiple_records_on_the_list_page.htm


Thanks.
How can I get the key of the records selected? I want to update the records selected with a particular value.
Chris.

Sergey Kornilov admin 7/27/2010

This article shows an example of building UPDATE SQL query that updates selected records.

L
luic author 7/27/2010



Chris,
here is helpful article:

http://xlinesoft.com/asprunnerpro/docs/update_multiple_records_on_the_list_page.htm


Thanks. Do you mean that I can get the IDs for the selected records using the deleted_values parameter, like deleted_values("ID")?
Chris.

Sergey Kornilov admin 7/27/2010

No, you cannot. See example that explains how exactly you can build update query.
http://xlinesoft.com/asprunnerpro/docs/update_multiple_records_on_the_list_page.htm