Re: BIG BUG in Deleting detali records



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

this dont go ....

but if i put the relation beetwen tables YES !

Thank u Very Much


--
Soluzioni Software di Gestione Aziendale
www.OnAzienda.it
"Kevin Frevert" <kevin@xxxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:46546df5@xxxxxxxxxxxxxxxxxxxxxxxxx
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 ..




.