Re: Don't want to delete from secondary table
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Wed, 25 May 2005 21:13:35 -0500
>
>I have a TwwDBGrid with a TDBNavigator using a DataSource using the query.
>
>If I click the - on the navigator, to delete a record, it tries to delete the Agent record as well as the Loana record.
>
>How can I make this only delete the record in the main underlying table (Loans)?
set the Unique Table property
ADODataSet.Properties['Unique Table'].Value:='Loans';
This property needs to be set after the dataset has opened
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: Don't want to delete from secondary table
- From: Jon Jacobs
- Re: Don't want to delete from secondary table
- References:
- Don't want to delete from secondary table
- From: Jon Jacobs
- Don't want to delete from secondary table
- Prev by Date: Re: D2005 ADO problem: multiple-step OLE DB operation generated errors
- Next by Date: Re: Finding a record in a TADOTable
- Previous by thread: Don't want to delete from secondary table
- Next by thread: Re: Don't want to delete from secondary table
- Index(es):