Delete Multiple Records from a database (MM Approved)

This extension creates a page to delete multiple records based on a checkbox selection.

Overview

It expects a record selection page, submitting a parameter, ideally recordID numbers. You should therefore create a page associating a repeatbehaviour to a row containing, along with other text fields needed for theuser to identify which records to delete, also a checkbox, dynamicallyassociated to an ID number. The form in the selection page shouldtherefore pass a parameter, equal to the name given to the checkbox fieldin UD. This same name should then be entered into this extension's menuunder URL Parameter Name.

For a better understanding of these interactions, please check: http://www.admil.com/tutorial/MultiDelete.html

Tip: the form's method in the selection page should be set to GET. Thisway you can control in your browser's address bar what parameter has beenpassed to the delete page. This is the text showing after the ? in theaddress bar. As an example: deletepage.asp?ID=23

This extension can be accessed via Server Behaviors > PM > Delete Multiple Records

Requirements

Type: Server Behavior
Product: UltraDev 4
Server Model: ASP VBScript

Reviews

Deleting Multiple Records

November 19, 2002 by kenny darcy

Hi,
I gave this extention some time trying to get it to work. The tutorial explains no where as to when or where one should apply the extention. Getting the submit page to work is simple ie the passing of the parameters was simple to understand. I found if I applied the extention to my delete page, the paramaters I pass from the submit page no longer show on my address bar and my files are not getting deleted. Would love to get this working so if anyone can help I would be grateful.

Regards

Kenny

Multiple Delete Extention

November 19, 2002 by kenny darcy

Hi,
I have still tried a hundred times more and cannot get it to work. I do note when I create a new page and add the extention I always get a red ! in the server behaviour panel after the extention name. I have uninstalled and re installed the extention four times and even downloaded it a few times too. would really like to know where i have gone wrong.

Regards

 

Kenny

Multiple Delete

November 19, 2002 by kenny darcy

Hi Brilliant extention, It would work as I was trying to use a date ie 19-11-2002 as the paramater, having done a work around it worked beautifully and simply. thanks

 

Kenny

Redirect back to detailpage ???

December 8, 2002 by Jelle-Jacob de Vries

How can I redirect back to a detailpage after delete ???

f.e. Something like response.redirect "mypagename.asp?id=5"
The id has to be reguested from the querystring, or not??

I hope somebody can help me

 

 

See all 7 Reviews

You must me logged in to write a review.