{
DataSetCount, DataSets example
The following code fragment illustrates how DataSets and DataSetCount can be used to ensure that an action is taken for every open dataset:
}
var
  I: Integer;
begin
  with SQLConnection1 do
  begin
    for I := 0 to DataSetCount - 1 do
      DataSets[I].DisableControls;
  end;
end; 
