Update failed. Found 2234 records.
Posted: Thu 27 May 2010 15:11
Hello!
First, please excuse my bad english, i hope you will understand the following text:
I have got a Live Dataset, that meens
ReadOnly := false;
The primary Key of the selected Table is not in the Statement, f.e.:
SELECT BlobField FROM Table WHERE pkey=123
The blobfield will be edited with a DBMemo Component.
The Update will fail, because of primary key is missing.
This Error occurs: Update failed. Found 2234 records.
2234 is the record count of the Table. All Records will be edited!
How can i prevent such a error. It's ok, if the component will bring an error, but this reaction destroys the data of my customer.
The problem is, that this appication is an ex BDE program. With the BDE it was no problem to miss the primary key. Now I can't measure if there any other statements with this error. So I want to prevent this in my Database components.
Please help me.
Thanks a lot.
First, please excuse my bad english, i hope you will understand the following text:
I have got a Live Dataset, that meens
ReadOnly := false;
The primary Key of the selected Table is not in the Statement, f.e.:
SELECT BlobField FROM Table WHERE pkey=123
The blobfield will be edited with a DBMemo Component.
The Update will fail, because of primary key is missing.
This Error occurs: Update failed. Found 2234 records.
2234 is the record count of the Table. All Records will be edited!
How can i prevent such a error. It's ok, if the component will bring an error, but this reaction destroys the data of my customer.
The problem is, that this appication is an ex BDE program. With the BDE it was no problem to miss the primary key. Now I can't measure if there any other statements with this error. So I want to prevent this in my Database components.
Please help me.
Thanks a lot.