Re: BIG BUG in Deleting detali records
- From: "Cavalera Guido" <cavaleraguido@xxxxxxxxxxxx>
- Date: Mon, 21 May 2007 08:08:51 +0200
You have to delete the detail records just deleting the master recordi dont use trigger !
doesn't
delete detail records. You could write a trigger on the master table to
do
this for you.
In addition if you have your master detail relationship set up to use ai dont use parameter !
parameter in the SQL statement when you change master records the detail
records
will be refreshed.
If you have deleted detail records and have not called
updatebatch before changing master records all the deletes will be lost.
I think the updatebatch work wrong on deleting datil records ... IS A BUG of
adodataset and updatebath mode !
see post : 'deleting detail record' of 10/04/2007 - 23.04
BYE
--
Soluzioni Software di Gestione Aziendale
www.OnAzienda.it
"Brian Bushay TeamB" <BBushay@xxxxxxxxx> ha scritto nel messaggio
news:rm1253tcgm1nocjld6bruhjjq3p318uifj@xxxxxxxxxx
D2006+ADODataSet+SQLServerYou have to delete the detail records just deleting the master record
In a master detail relation with transaction and batchoptimistic control,
happen deleting master record does not delete detail records after
updatebatch ...
This error was solved ?
doesn't
delete detail records. You could write a trigger on the master table to
do
this for you.
In addition if you have your master detail relationship set up to use a
parameter in the SQL statement when you change master records the detail
records
will be refreshed. If you have deleted detail records and have not called
updatebatch before changing master records all the deletes will be lost.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: BIG BUG in Deleting detali records
- From: Cavalera Guido
- Re: BIG BUG in Deleting detali records
- From: Brian Bushay TeamB
- Re: BIG BUG in Deleting detali records
- From: Bill Todd
- Re: BIG BUG in Deleting detali records
- References:
- BIG BUG in Deleting detali records
- From: Cavalera Guido
- Re: BIG BUG in Deleting detali records
- From: Brian Bushay TeamB
- BIG BUG in Deleting detali records
- Prev by Date: Re: BIG BUG in Deleting detali records
- Next by Date: Crash problem because of Language selection
- Previous by thread: Re: BIG BUG in Deleting detali records
- Next by thread: Re: BIG BUG in Deleting detali records
- Index(es):
Relevant Pages
|