🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
3 messages
3 total messages Started by cai Tue, 25 Jul 2000 00:00
delet a record in a master/detail table
#973
Author: cai
Date: Tue, 25 Jul 2000 00:00
8 lines
771 bytes
Hi
 I am running with Master/Detail table, and croes a TProvider link to a
TClientDataSet
When I delete a record in the Master ClientDataSet, it would raising an
exception
"Cannot delete master record with detail"

Cai
Re: delet a record in a master/detail table
#976
Author: Lydia
Date: Tue, 25 Jul 2000 00:00
2 lines
637 bytes
You have to delete the corresponding records first. Using
MasterQuery->BeforeDelete Event will be the best.
Re: delet a record in a master/detail table
#978
Author: cai
Date: Wed, 26 Jul 2000 00:00
13 lines
945 bytes
But when the ClientDataSet is a stand alone table(it does not link a
DataSetProvider), it would raising the same exception. how to do it

thanks

Cai


Lydia <lydia.m@t-online.de> wrote in message news:397db393_1@dnews...
> You have to delete the corresponding records first. Using
> MasterQuery->BeforeDelete Event will be the best.
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads