-
Notifications
You must be signed in to change notification settings - Fork 0
/
ufrmabmventas.pas
63 lines (52 loc) · 1.54 KB
/
ufrmabmventas.pas
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
unit ufrmabmventas;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridEhGrouping,
ToolCtrlsEh, DBGridEhToolCtrls, DynVarsEh, EhLibVCL, GridsEh, DBAxisGridsEh,
DBGridEh, Data.DB, IBCustomDataSet, IBQuery,
Vcl.PlatformDefaultStyleActnCtrls, System.Actions, Vcl.ActnList, Vcl.ActnMan,
dr2gcomponentes, ufrmTemplateDatos;
type
TfrmabmVentas = class(TfrmDatos)
grid1: TDBGridEh;
qryVentas: TIBQuery;
dsVentas: TDataSource;
qryVentasID: TLargeintField;
qryVentasFECHA: TDateTimeField;
qryVentasRUC: TIBStringField;
qryVentasRAZON_SOCIAL: TIBStringField;
qryVentasCONDICION: TIBStringField;
qryVentasDIRECCION: TIBStringField;
qryVentasTELEFONO: TIBStringField;
qryVentasNOTA_REMISION: TIBStringField;
qryVentasOBSERVACION: TIBStringField;
qryVentasPRECIO_MAYORISTA: TSmallintField;
qryVentasESTADO: TIBStringField;
qryVentasNUMERO: TIBStringField;
actmgr1: TActionManager;
header1: TDxHeader;
procedure FormCreate(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmabmVentas: TfrmabmVentas;
implementation
uses
datos;
{$R *.dfm}
procedure TfrmabmVentas.FormClose(Sender: TObject; var Action: TCloseAction);
begin
qryVentas.Close;
inherited;
end;
procedure TfrmabmVentas.FormCreate(Sender: TObject);
begin
inherited;
qryVentas.Open;
end;
end.