Re: BIG BUG in Deleting detali records



In your example...

adodataset2.First();
while not adodataset2.bof do
adodataset2.Delete;

You will need to call..
adodataset2.UpdateBatch();

ex..

adodataset2.First();
while not adodataset2.bof do
adodataset2.Delete;
adodataset2.UpdateBatch();

krf

"Cavalera Guido" <cavaleraguido@xxxxxxxxxxxx> wrote in message
news:465465b0$1@xxxxxxxxxxxxxxxxxxxxxxxxx


Excuse me can u try to compile this code ? use a msAccess database and
two tables without relation ... you can see that detail records dont be
removed from the database ..


.



Relevant Pages