n1Click (Sender: TObject);
procedure Button2Click (Sender: TObject);
procedure Button3Click (Sender: TObject);
private
{Private declarations}
public
{Public declarations}
end;
var
Form7: TForm7;
implementation
uses menu, proiz, tip_datchika;
{$ R * .dfm}
procedure TForm7.Button1Click (Sender: TObject);
begin
IBQuery2.Params [0] .AsString:=Edit1.Text;
IBQuery2.Params [1] .AsString:=form3.IBQuery1.Fields [0] .AsString;
IBQuery2.Params [2] .AsString:=form4.IBQuery1.Fields [0] .AsString;
IBQuery2.Open;
IBQuery2.Close;
IBQuery1.Close;
IBQuery1.Open;
Edit1.Text:= raquo ;;
end;
procedure TForm7.Button2Click (Sender: TObject);
begin
IBQuery3.Params [0] .AsString:=Edit1.Text;
IBQuery3.Params [1] .AsString:=form3.IBQuery1.Fields [0] .AsString;
IBQuery3.Params [2] .AsString:=form4.IBQuery1.Fields [0] .AsString;
IBQuery3.Params [3] .AsString:=IBQuery1.Fields [0] .AsString;
IBQuery3.Open;
IBQuery3.Close;
IBQuery1.Close;
IBQuery1.Open;
Edit1.Text:= raquo ;;
end;
procedure TForm7.Button3Click (Sender: TObject);
begin
IBQuery4.Params [0] .AsString:=IBQuery1.Fields [0] .AsString;
IBQuery4.Open;
IBQuery4.Close;
IBQuery1.Close;
IBQuery1.Open;
end;
end.
unit itazh;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, DBGrids, DB, IBCustomDataSet, IBQuery;
type
TForm2=class (TForm)
DataSource1: TDataSource;
DBGrid1: TDBGrid;
Label1: TLabel;
Edit1: TEdit;
Button1: TButton;
Button2: TButton;
Button3: TButton;
IBQuery1: TIBQuery;
IBQuery2: TIBQuery;
IBQuery3: TIBQuery;
IBQuery4: TIBQuery;
procedure Button1Click (Sender: TObject);
procedure Button2Click (Sender: TObject);
procedure Button3Click (Sender: TObject);
private
{Private declarations}
public
{Public declarations}
end;
var
Form2: TForm2;
implementation
uses menu;
{$ R * .dfm}
procedure TForm2.Button1Click (Sender: TObject);
begin
IBQuery2.Params [0] .AsString:=Edit1.Text;
IBQuery2.Open;
IBQuery2.Close;
IBQuery1.Close;
IBQuery1.Open;
Edit1.Text:= raquo ;;
end;
procedure TForm2.Button2Click (Sender: TObject);
begin
IBQuery3.Params [0] .AsString:=Edit1.Text;
IBQuery3.Params [1] .AsString:=IBQuery1.Fields [0] .AsString;
IBQuery3.Open;
IBQuery3.Close;
IBQuery1.Close;
IBQuery1.Open;
Edit1.Text:= raquo ;;
end;
procedure TForm2.Button3Click (Sender: TObject);
begin
IBQuery4.Params [0] .AsString:=IBQuery1.Fields [0] .AsString;
IBQuery4.Open;
IBQuery4.Close;
IBQuery1.C...