Nested datasets with TClientdatasets on more than two levels?

I would like to know if it is possible to insert a dataset into a dataset and then embed this dataset in another dataset. Up to 3 levels of nesting. Currently, I only manage to install one dataset in another. When connected to the third level, the database starts successfully the first time I compile my program, and I can enter the data. When I then try to run the program, the second time I get a message called EDBClient, with the message "mismatch in datapacket".

So, I would like to know if it is possible to embed 3 levels of data sets inside each other?

Regards Ryan

+3
source share
2 answers

Story:

Try with Delphi XE ... for my current main project, this fixed the error.

Long story:

I ran into the same problem that you have 3 or more levels of nested datasets when there is any error on the database side since Delphi 2010.

In a previous previous version, I used Delphi 2007 without problems, so there was a chance that bad behavior was introduced in Delphi 2009 or Delphi 2010.

midas.dll , , MidasLib. "", , , , . "" , - : OnReconcileError - try/except VCL.

, , , . , , , Delphi XE , SA, .

, , ... , . : , - , , - /. . , " " , .

, Embarcadero, , - , .

+2

: , , . ClientDataSets, 6 . , , , .

+1

Source: https://habr.com/ru/post/1723120/


All Articles