Hello
When I do Edit, Post and there are more than 1 matching records I get Update Failed: xx records found exception. Which is correct.
But as I've noticed it still does the update. It still updates that xx records. What I think is not correct. And I did not notice this earlier.
Tell me what to do to show you.
Thanks.
update failed error updates records????
MyDAC cannot determine how many records will be modified before an update query has been performed. After an update command has been performed, MyDAC gets from the server count of the affected rows, and, if the value differs from one, raises an exception. To avoid this problem, you should wrap delete and update operations in transactions.
-
GuzunNicolae
- Posts: 78
- Joined: Wed 17 Jan 2007 14:16