Re: TADODataSet using outer joins and delete method !!!

From: Sv Kalitsov (kalitsov_at_abv.bg)
Date: 11/24/04


Date: Wed, 24 Nov 2004 09:58:17 +0200

I red example where ADODataSet.Properties['Unique Table'].Value:='Name of a
table';
is set in OnRecordsetCreate, but i know it's not work since you move it to
BeforeDelete.
Why would i set 'Unique Table' property every time?

> >>While testing I assigned a query assigned to TADODataSet using outer
> >>joins.
> >>If I delete the record using TADODataSet.Delete method, the outer joined
> >>records also deleted. Is
> >
> > Ado has a Unique Table property you can set to do this.
> >
> > You should put this code in the BeforeDelete event
> > begin
> > ADODataSet.Properties['Unique Table'].Value:='Name of a table';
> > end;
> >
> > --
> > Brian Bushay (TeamB)
> > Bbushay@NMPLS.com
>
>