6
Does anyone know if there is any trace of a table that is dropped from a bank? To make it easier if it’s recreated, for example, and when I say vestige is in the bowels of the bank itself.
I’m going through that famous 'Couldn’t perform the Edit problem because Another user changed the record. ' in an SQL connection with BDE/Delphi, the programming part in Delphi has already been done everything to avoid the problem.
Now, create a new table with another name, but with the same structure and with the data of the table that has the field that presents the error, which in this case is a FLOAT, the new table does not present the error.
Following this process, if I delete the table that presented the error, and recreate it with the same name taking the structure of the new table that had created and passing on the data also from this table, the error happens again.
That is, the problem only happens when I create the table with the name in which the error was first presented. The only suspicion I have left was that the bank keeps some information about the table that was dropped, and when it is recreated, it edits its data in some way, which makes it present the error.
Why do you need to recreate the table? The Post should work without generating any errors. How is this field in the database and how Delphi mapped it?
– EProgrammerNotFound
Did you try to change updateMode to upWhereKeyOnly? This should solve the problem without the need to recreate the table
– EProgrammerNotFound
Tried to switch from Requestlive to Cachedupdates? In addition to increasing performance, it could also solve the problem.
– EProgrammerNotFound
When you say that everything was done in Delphi to ensure the operation you mean that these two changes have already been made?
– EProgrammerNotFound
That’s right, it’s been a while since I’ve had the problem, and for new cases, I made the same changes you mentioned in Delphi and the problem stopped happening. But for the cases that presented the problem before the changes in Delphi, even if you use the corrected version, the problem keeps happening.
– Robson Braz
The field is FLOAT in the bank, and even without instantiating using SELECT * or instantiating as FLOAT in Delphi the problem happens. I started to recreate the table because I saw that a new one was created with the same structure, but with another name, the problem did not happen.
– Robson Braz
I do not understand, what are new cases and what are cases before the changes?
– EProgrammerNotFound
It’s my trip, the problem now, after I made the changes in Delphi, if you create a new table and write a float field with a tithe greater than 15 digits does not happen the error, if you use an old table, even dropping it, and recreating, the error happens.
– Robson Braz
@Robsonbraz, what is all you did to avoid the problem? Because with this statement you can induce colleagues and yourself to never find the error, since the problem may still be being generated by a programming error, when we use BDE to access files it is normal that these get corrupted, already tried to reinstall the BDE?
– Wellington Silva Ribeiro