Помогите пожалуйста разобраться, появляется ошибка
Undeclared identifier: 'ADOQuery1'
Код:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | unit Unit4;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, StdCtrls;
type
TForm4 = class (TForm)
DBGrid1: TDBGrid;
Button1: TButton;
Button2: TButton;
procedure Button1Click(Sender: TObject);
private
public
end ;
var
Form4: TForm4;
implementation
uses Unit1, Unit5;
{$R *.dfm}
procedure TForm4 . Button1Click(Sender: TObject);
begin
Form5 . Show;
ADOQuery1 . Insert;
end ;
end .
|
Админ: Пользуемся тегами при оформлении кода!