Ok, if the database you're talking to was designed correctly the table you're reading data from should have a "primary key value" this is a field containing a unique identifier. Primary keys are typically integers because integers are faster to search and index--but they don't have to be.
When you are performing your select statement to retrieve the data, be sure to also read the primary key. Keep this column of data in an array that you can refer to.
Now, when your user selects one or more items to delete, the code looks up the primary keys for those items and formats an SQL delete statement to delete just those records.
If the data you are reading comes from several tables using a "join", the problem gets a little more difficult, but
the same basic technique should work, the SQL will just be more complex.
The worse case situation is if you are getting your data from what is called a "view". If that is the case, you will need to spend sometime with someone in your MIS department and workout exactly how to do the delete.
Mike...