unit mainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DBCtrls,
DB, IBDatabase, IBCustomDataSet, IBQuery,
IBTable, Grids, DBGrids;
type
TmainForm =
class(TForm)
IBDatabase1: TIBDatabase;
IBTransaction1: TIBTransaction;
DataSource1: TDataSource;
DBMemo1: TDBMemo;
IBQuery1: TIBQuery;
private
{ Private declarations }
public
{ Public declarations }
end;
var
mainForm: TmainForm;
implementation
{$R *.dfm}
Begin
MainForm.DataSource1.DataSet:= MainForm.IBQuery1;
MainForm.DBMemo1.DataSource := MainForm.DataSource1;
MainForm.DBMemo1.DataField := '
MEMO1';
end.