|
-
May 18th, 2001, 07:41 AM
#1
Thread Starter
Addicted Member
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.
-
May 18th, 2001, 07:59 AM
#2
Fanatic Member
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.
-
May 18th, 2001, 12:33 PM
#3
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|