procedure TBGSDJCX_CK.ToolButton4Click(Sender: TObject);
begin
if Button1.Caption<>'1' then
Button1.Caption:=IntToStr(StrToInt(Button1.Caption)-1);
DataSetBroker2.DataSet.Params.ParamByName('SRow').AsString:=IntToStr(18*(StrToInt(Button1.Caption)-1));
DataSetBroker2.DataSet.Params.ParamByName('ERow').AsString:=IntToStr(18*(StrToInt(Button1.Caption)));
DataSetBroker2.DataSet.Close;
DataSetBroker2.DataSet.Open;
end;
procedure TBGSDJCX_CK.ToolButton4Click(Sender: TObject);
begin
if Button1.Caption<>'1' then
Button1.Caption:=IntToStr(StrToInt(Button1.Caption)-1);
DataSetBroker2.DataSet.Params.ParamByName('SRow').AsString:=IntToStr(18*(StrToInt(Button1.Caption)-1));
DataSetBroker2.DataSet.Params.ParamByName('ERow').AsString:=IntToStr(18*(StrToInt(Button1.Caption)));
DataSetBroker2.DataSet.Close;
DataSetBroker2.DataSet.Open;
end;