grid record deletion problem

Hi, we develpoed a custom form, custom tables and form is attached with a grids and it has a master/detail relation Our problem is when we want to delete a record from the grid it is not deleting the current record but it always deteles the first or last record Our requirement is to delete the current record on which the cursor is pointing out please replay urgent… thanks

bebteam, the forum has moved (there is a message on just about evry page). please re-register at and repost the question there. thanks.