It's quite old, but there are many new Delphi programmers right now. Here is a little scoop.
When using CDS in delphi, you actually create a memory table. Your request has probably changed hell.
To get the most out of CDS, use DBX components to capture data. These are the so-called โfastโ cursors that do not create a temporary table with a cursor in the database. forward just doesn't do the fancy stuff that ADO does. If you need massive datasets with general update notifications and full control, use ADO. If you need to plow a ton of data in a hurry with a small load on the server where the CDS / DBX is lit.
The DBX method is more complicated. This is just a dragster. The first and next is the only thing that works for them. No updates, no obligations, just quick one-way relationships. Connect the combo DBX / provider / CDS, and you have everything. Speed โโand ability to edit. Use the version number to find another user who does something with the data during editing. Examine your providerโs options to learn how to maximize flexibility. It is almost as complicated as in Delphi.
source share