| 3 |
interface |
interface |
| 4 |
|
|
| 5 |
uses |
uses |
| 6 |
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, |
Classes, SysUtils, IWAppForm, IWApplication, IWColor, IWTypes; |
|
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, |
|
|
FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, FireDAC.UI.Intf, |
|
|
FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Phys, FireDAC.Phys.IB, |
|
|
FireDAC.Phys.IBDef, Data.DB, FireDAC.Comp.Client, FireDAC.Comp.DataSet; |
|
| 7 |
|
|
| 8 |
type |
type |
| 9 |
TDataModule1 = class(TDataModule) |
TPayForm = class(TIWAppForm) |
|
FDTable1: TFDTable; |
|
|
FDTable1NAME: TWideStringField; |
|
|
FDTable2: TFDTable; |
|
|
FDTable2NAME: TWideStringField; |
|
|
FDTable2MAKER: TWideStringField; |
|
|
FDTable2STOCK: TIntegerField; |
|
|
FDTable2WEIGHT: TIntegerField; |
|
|
FDTable2DATE: TDateField; |
|
|
FDTable2COMMENT: TMemoField; |
|
|
FDTable2CATEGORY: TWideStringField; |
|
|
FDTable2IMAGE: TBlobField; |
|
|
FDTable2PRICE: TIntegerField; |
|
|
item: TDataSource; |
|
|
user: TDataSource; |
|
|
FDConnection1: TFDConnection; |
|
|
FDTable3: TFDTable; |
|
|
form: TDataSource; |
|
|
FDQuery1: TFDQuery; |
|
|
cart: TDataSource; |
|
|
FDTable2THUMBNAIL: TBlobField; |
|
|
FDTable1EMAIL: TWideStringField; |
|
|
FDTable1ADDRESS: TWideStringField; |
|
|
FDTable1NUMBER: TIntegerField; |
|
|
FDTable1PASSWORD: TWideStringField; |
|
|
FDTable2SERIAL: TIntegerField; |
|
|
FDTable1BIRTH: TDateField; |
|
|
FDTable3NAME: TWideStringField; |
|
|
FDTable3BGCOLOR: TIntegerField; |
|
|
private |
|
|
{ Private 宣言 } |
|
| 10 |
public |
public |
|
{ Public 宣言 } |
|
| 11 |
end; |
end; |
| 12 |
|
|
|
function DM: TDataModule1; |
|
|
|
|
| 13 |
implementation |
implementation |
| 14 |
|
|
|
{%CLASSGROUP 'Vcl.Controls.TControl'} |
|
|
|
|
|
uses ServerController; |
|
|
|
|
| 15 |
{$R *.dfm} |
{$R *.dfm} |
| 16 |
|
|
|
function DM: TDataModule1; |
|
|
begin |
|
|
result:=UserSession.DM; |
|
|
end; |
|
| 17 |
|
|
| 18 |
end. |
end. |