Check boxes on line items

Results 1 to 2 of 2

Thread: Check boxes on line items

  1. #1
    Join Date
    Dec 1969

    Default Check boxes on line items

    I&#039;m looking for a way to do mass updates to several records by allowing the user to select certain records via a checkbox. A good example of this is Yahoo!&#039;s mail delete function. You select multiple messages and hit delete. My function would be similar, but would instead be inserting today&#039;s date into a specific field for each selected record. Does anyone have a good example of how to do this?<BR><BR>Thanks!<BR><BR>Tom Oakes

  2. #2
    Join Date
    Dec 1969

    Default RE: Check boxes on line items

    update table set blah=yes where chkboxname in &#039;"& request("chkbox") &"&#039;<BR><BR>just name all the checkboxes the same<BR>and set there values to the row identifier or whatever you use to identify that record.<BR><BR>else, you name all the chkboxes the same as above<BR>and do a split on the ,<BR>then use a for loop to do the updates <BR>one by one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts