14 |
|
|
15 |
|
TForm1 = class(TForm) |
16 |
|
CancelChanges: TAction; |
17 |
+ |
IBQuery1SALARY: TIBBCDField; |
18 |
|
IBUpdateSQL1: TIBUpdateSQL; |
19 |
|
SaveChanges: TAction; |
20 |
|
DeleteEmployee: TAction; |
40 |
|
IBQuery1JOB_GRADE: TSmallintField; |
41 |
|
IBQuery1LAST_NAME: TIBStringField; |
42 |
|
IBQuery1PHONE_EXT: TIBStringField; |
42 |
– |
IBQuery1SALARY: TIBBCDField; |
43 |
|
IBTransaction1: TIBTransaction; |
44 |
|
procedure AddEmployeeExecute(Sender: TObject); |
45 |
|
procedure CancelChangesExecute(Sender: TObject); |
55 |
|
procedure IBQuery1AfterOpen(DataSet: TDataSet); |
56 |
|
procedure IBQuery1AfterTransactionEnd(Sender: TObject); |
57 |
|
procedure IBQuery1BeforeClose(DataSet: TDataSet); |
58 |
– |
procedure IBQuery1BeforeOpen(DataSet: TDataSet); |
58 |
|
procedure IBQuery1PostError(DataSet: TDataSet; E: EDatabaseError; |
59 |
|
var DataAction: TDataAction); |
60 |
|
procedure IBQuery1SALARYGetText(Sender: TField; var aText: string; |
218 |
|
FLastEmp_no := DataSet.FieldByName('Emp_no').AsInteger |
219 |
|
end; |
220 |
|
|
222 |
– |
procedure TForm1.IBQuery1BeforeOpen(DataSet: TDataSet); |
223 |
– |
begin |
224 |
– |
end; |
225 |
– |
|
221 |
|
procedure TForm1.IBQuery1PostError(DataSet: TDataSet; E: EDatabaseError; |
222 |
|
var DataAction: TDataAction); |
223 |
|
begin |