Link to home
Start Free TrialLog in
Avatar of Explorer060599
Explorer060599

asked on

cannot delete master record with

hi , l'm using D7 and got error message "cannot delete master record with
details" when i tried to delete the master clientdataset record after
deleted the record of detail clientdataset. please consider the following
structures.

DataSource1 := SQLQuery1
DataSource2 := ClientDataSet1

SQLQuery1
DataSetProvider1.DataSet := SQLQuery1
ClientDataSet1.ProviderName := DataSetProvider1

SQLQuery2.DataSource := DataSource1
DataSetProvider2.DataSet := SQLQuery2
ClientDataSet2.ProviderName := DataSetProvider2
ClientDataSet2.MasterSource := DataSource2

when i run ClientDataSet2.Delete, it was successfully deleted, then got
error when run ClientDataSet1.Delete on next.

please help.....

ed

ASKER CERTIFIED SOLUTION
Avatar of Imbeginner
Imbeginner

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

Explorer:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Hi!
No comment has been added lately and this question is therefore classified abandoned.

If asker wishes to close the question, then refer to
https://www.experts-exchange.com/help/closing.jsp

Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: Imbeginner

Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

...Snehanshu
EE Cleanup Volunteer