Jump to content

ADO Checkbox Delete


huangpower

Recommended Posts

Using ADO method, along with rs.addnew, rs.update, rs.deleteI have a page managing records like below:I use [] to represent checkboxes[] Record 1[] Record 2[] Record 3[] Record 4Above selected: [] delete [] UpdateI use[] above again to represent radio button for desire option by userMember can select desire records for update.=================================================I have tried using the following method gotten from http://www.dmxzone.com/forum/topic.asp?topic_id=35902strID = Replace(Request.Form, "&ID=", ",")strID = Replace(strID, "ID=", "")arrID = Split(strID, ",")For intCount = 0 To UBound(arrID) ...processing ado...NextHowever, because I also put in the delete and update radio buttons, it masses up the array.I am wondering if there is anyone know a way around to update multiple records using checkbox, along with action selection such as "delete" or "update" for activating record or inactivating record. I am using regular rs.delete, but it only deletes one record at a time.=================================================

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...