| View previous topic :: View next topic |
| Author |
Message |
Stephen K. Miyasato Guest
|
Posted: Mon Apr 12, 2004 12:49 pm Post subject: EDBClient error |
|
|
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
|
Posted: Tue Apr 13, 2004 6:55 am Post subject: Re: EDBClient error |
|
|
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
|
Posted: Wed Apr 14, 2004 9:56 am Post subject: Re: EDBClient error |
|
|
"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
|
Posted: Wed Apr 14, 2004 9:57 am Post subject: Re: EDBClient error |
|
|
"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 |
|
 |
|