unit Unit12;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons, DB, DBTables, Grids, DBGrids;

type
  TForm12 = class(TForm)
    DataSource1: TDataSource;
    DBGrid1: TDBGrid;
    Query1: TQuery;
    Query1id: TIntegerField;
    Query1idTovary: TIntegerField;
    Query1nazvatovary: TStringField;
    BitBtn1: TBitBtn;
    Query1kilkistNaBazi: TFloatField;
    BitBtn2: TBitBtn;
    procedure BitBtn1Click(Sender: TObject);
    procedure BitBtn2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form12: TForm12;

implementation

uses Unit10, Unit19;

{$R *.dfm}

procedure TForm12.BitBtn1Click(Sender: TObject);
begin
 Close;
end;

procedure TForm12.BitBtn2Click(Sender: TObject);
begin
Query1.Open();
QuickReport19.preview();
end;

end.
