BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EDBClient error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Stephen K. Miyasato
Guest





PostPosted: Mon Apr 12, 2004 12:49 pm    Post subject: EDBClient error Reply with quote



I'm trying to find where this error is occuring. I have a master - detail
with nested client datasets. When I try to delete the master and it has
child records I get a EDBClient error follows by a blank dialog box.. I
trying to find where this error occurs. I have tried looking at the
beforeDelete, onPostError, OnREconcileError with no luck.

Thanks for the help.

Stephen K. Miyasato
MDsync


Back to top
Databank
Guest





PostPosted: Tue Apr 13, 2004 6:55 am    Post subject: Re: EDBClient error Reply with quote



try to set the options of provider add the cascadedelete



"Stephen K. Miyasato" <miyasat (AT) flex (DOT) com> 写入消息新闻
:407a903d$1 (AT) newsgroups (DOT) borland.com...
Quote:
I'm trying to find where this error is occuring. I have a master - detail
with nested client datasets. When I try to delete the master and it has
child records I get a EDBClient error follows by a blank dialog box.. I
trying to find where this error occurs. I have tried looking at the
beforeDelete, onPostError, OnREconcileError with no luck.

Thanks for the help.

Stephen K. Miyasato
MDsync





Back to top
Dave Rowntree
Guest





PostPosted: Wed Apr 14, 2004 9:56 am    Post subject: Re: EDBClient error Reply with quote



"Stephen K. Miyasato" <miyasat (AT) flex (DOT) com> wrote:

Quote:
I'm trying to find where this error is occuring. I have a master - detail
with nested client datasets. When I try to delete the master and it has
child records I get a EDBClient error

Good.

Quote:
follows by a blank dialog box..

Not good. You should receive an error message (IIRC) 'Cannot delete a
master record with details'.

Quote:
I
trying to find where this error occurs. I have tried looking at the
beforeDelete, onPostError, OnREconcileError with no luck.

In the project options Project|Options|Compiler check the 'Use Debug
DCUs' check box. You will then be able to debug into the dbclient.pas
code to see what is happening.
--
Dave Rowntree

Back to top
Dave Rowntree
Guest





PostPosted: Wed Apr 14, 2004 9:57 am    Post subject: Re: EDBClient error Reply with quote

"Databank" <david_wwb (AT) 163 (DOT) com> wrote:

Quote:
try to set the options of provider add the cascadedelete

You should only set this if the DB handles the detail record
deletions.
--
Dave Rowntree

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.