Re: abort delete problem
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Tue, 28 Jun 2005 21:53:34 -0500
>In a TadoDataset I'm using the BeforeDelete event to get user confirmation
>after he hit's the delete button to delete one or more rows in a grid. I've
>noticed that if the user clicks "no" to my confirmation message, even though
>I'm aborting the delete, the pointer still moves to the row above the one
>the user was on. This only occurs if the bottom row was focused when trying
>to delete. I know this is supposed to happen if the delete takes place but
>why would it move the record pointer if no delete occurs?
You should look at the code that allows you to delete multiple records.
My guess is that code is iterating through the Selectedrows
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: abort delete problem
- From: Keith G Hicks
- Re: abort delete problem
- References:
- abort delete problem
- From: Keith G Hicks
- abort delete problem
- Prev by Date: Delphi 2005
- Next by Date: Re: Benefits of using TADODatasets over TADOQuery when running local MSDE
- Previous by thread: abort delete problem
- Next by thread: Re: abort delete problem
- Index(es):