I have someone's code which I have to fix. Its a pain in the butt! Anyway, the problem is that when you add a record to the ADO control and then try to delete it straight afterwards in returns this error:
The user clicks on a row of a dbgrid and then clicks delete which executs this code:Run-time error '-217217864 (80040e38)':
Row cannot be located for updating. Some values may have been changed since it was last read.
Please help me. I am not in the mood to learn ADO database control!!Code:Adodc1.Recordset.Delete Adodc1.Recordset.UpdateBatch adAffectAllChapters




Reply With Quote