I've been using delphi xe6 for a few days now and I'm breaking my head with a problem. I have the trio here: SQLDataSet - > ClientDataSet - > DataSetProvider .
When I open my form, I call cdsPessoas.Open
(ClientDataSet).
So far so good, it displays my records all right. But at the time I call cdsPessoas.Append
, it returns me the error saying that the ClientDataSet is not active. The problem is that at no time do I close it, that is, I do not know why the heck he is closing alone.
I use these components within a data module along with two more ClientDataSets and SQLDataSets by doing the Master \ Detail . I've already tried to get the master \ detail, but that's not the problem, because the data is displayed correctly.
Does anyone have any idea what it can be?