Two DBGrid in the first sample occurs 1 time through Select. In the second DBGrid, sampling occurs when the cursor changes position in the first DBGrid, also Select.
SELECT*from Image_object_date Where (id_object=:id_object) ORDER BY id_imag DESC
Sampling is done through IBDataSet, Firebird 2.0 database.
When turning over in the first DBGrid there are PPC which brakes, and in the second there are no brakes at all. But if you turn off the sample in the second DBGrid, the first one stops to slow down.
Sampling time in the second DBGrid does not exceed 350ms.
Please tell me how to get around this problem.