unit RealEd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
DB, FIBDatabase, pFIBDatabase, FIBDataSet, pFIBDataSet,
StdCtrls, Mask, DBCtrls, RealEdit;
type
TForm1 = class(TForm)
DBRealEdit1: TDBRealEdit;
pFIBDatabase1: TpFIBDatabase;
pFIBDataSet1: TpFIBDataSet;
pFIBTransaction1: TpFIBTransaction;
DataSource1: TDataSource;
procedure Edit1Exit(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Edit1Exit(Sender: TObject);
begin
pFIBdataset1.Active := false;
pFIBdataset1.SelectSQL.Text := 'SELECT * FROM <TABELLENNAME> WHERE NR = '+Edit1.Text;
pFIBdataset1.Active := true;
end;
end.