Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
How to get # of rows selected for deletion in AfterRowsDeleted Event?
posted

Hi,

I need the # of rows selected for deletion and currently I am using the BeforeRowsDeleted to store the lenght of selected rows into a variable to use in the AfterRowsDeleted event. Is that # availble somewhere in teh AfterRowsDeleted event? I have a few grids on the form and this would elimante a bunch of code...


thanks.

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    No, I don't think so. The AfterRowsDeleted fires after the rows have already been delete. They no longer exist, so there's no way to get a count of the rows - because they are no longer there.