2016-11-27 23:17:20 +01:00
|
|
|
unit MyDataModuleU;
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
uses
|
|
|
|
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
|
|
|
|
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
|
|
|
|
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB,
|
2017-04-20 23:48:50 +02:00
|
|
|
FireDAC.Phys.FBDef, FireDAC.Stan.Param, FireDAC.DatS,
|
2016-11-27 23:17:20 +01:00
|
|
|
FireDAC.DApt.Intf, FireDAC.DApt, FireDAC.Phys.IBBase, Data.DB,
|
2017-04-20 23:48:50 +02:00
|
|
|
FireDAC.Comp.DataSet, FireDAC.Comp.Client, FireDAC.ConsoleUI.Wait,
|
|
|
|
FireDAC.Comp.UI;
|
2016-11-27 23:17:20 +01:00
|
|
|
|
|
|
|
type
|
|
|
|
TMyDataModule = class(TDataModule)
|
|
|
|
FDConnection1: TFDConnection;
|
|
|
|
qryCustomers: TFDQuery;
|
|
|
|
FDPhysFBDriverLink1: TFDPhysFBDriverLink;
|
|
|
|
qryCountry: TFDQuery;
|
2017-04-20 23:48:50 +02:00
|
|
|
FDGUIxWaitCursor1: TFDGUIxWaitCursor;
|
2016-11-27 23:17:20 +01:00
|
|
|
private
|
|
|
|
{ Private declarations }
|
|
|
|
public
|
|
|
|
{ Public declarations }
|
|
|
|
end;
|
|
|
|
|
|
|
|
var
|
|
|
|
MyDataModule: TMyDataModule;
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
{%CLASSGROUP 'Vcl.Controls.TControl'}
|
|
|
|
|
|
|
|
{$R *.dfm}
|
|
|
|
|
|
|
|
end.
|