I even managed to see the examples, but they have no connection with the ClientDataSet. Only in addition, I was able to connect to the database and display the information, but I need to work with ClientDataSet for the following reason.
My Delphi applications work as follows:
1 - Connects to the database.
2 - Execute and activate the query.
3 - Activate the clientdataset that is linked to the query.
4 - Disable the query.
5 - Disconnect from the database.
Doing these procedures, the data is stored in the clientdataset (memory) where I can manipulate the local information and only then send it to the server.