Mega Code Archive

 
Categories / Delphi / Examples
 

Couldnt perform the edit because another user changed the record

Question: When I edit a record with more that 15 digits after the decimal place, I get BDE error 10259 ($2813): 'Couldn't perform the edit because another user changed the record.' - why? Answer: The BDE has a limit of 15 decimals after the decimal separator. As you post the updated record, the BDE refetches the row to make sure it still exists (and was not changed). To do so, it uses the data it originally fetched. It only fetches up to 15 digits, so the data the BDE has and data on the server don't match. The server returns that the fetch returned no records which causes the BDE to generate its error.