Results 1 to 3 of 3

Thread: Error 7009 - Can Not Find The Row

  1. #1

    Thread Starter
    Addicted Member Michel Jr's Avatar
    Join Date
    Jan 2000
    Location
    Brazil
    Posts
    175

    Question Guru needed - Clicking on the left column DataGrid

    Hi,

    After typing something inside the columns of the last row of a DataGrid, I try to delete that line, but occurs the following error:
    Error 7009 - Can Not Find The Row
    and also appears the word "#ERROR" inside each column.

    I have a database bounded to the DataGrid and I don´t want to update the database.
    How to avoid that error message?


    Thanks in advance...

    Michel Jr.
    Last edited by Michel Jr; May 18th, 2001 at 01:18 PM.

  2. #2
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819
    Sounds nasty.

    Do you have any events that fire on your datagrid - e.g. RowColumn events? If so, the error might be caused in there.

    Step through your code and see if the error happens as soon as you delete the row, or if it tries to run some code first.
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  3. #3

    Thread Starter
    Addicted Member Michel Jr's Avatar
    Join Date
    Jan 2000
    Location
    Brazil
    Posts
    175

    Question

    I already found the solution for the error message above.
    But now I have another doubt:

    If the user types something inside the columns of the last row of a DataGrid and then clicks on the left gray column (Row Selector) in another line, the consistence events (BeforeUpdate and BeforeColUpdate) of the last line are not verified.

    So, the record is inserted in the database and may contain undesired values.


    How can I avoid this inconvenience?

    Thanks in advance...

    Michel Jr.

Posting Permissions

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



Click Here to Expand Forum to Full Width