Дипломная работа: Автоматизация учета сдельной оплаты труда компании ООО «Торгофф»

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам
97
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form13: TForm13;
implementation
uses Unit1;
{$R *.dfm}
procedure TForm13.FormClose(Sender: TObject; var Action: TCloseAction);
begin Form13.Hide; Form1.Show; end;
procedure TForm13.Button1Click(Sender: TObject);
begin
try
Form1.ADOQuery3.SQL.Clear;
Form1.ADOQuery3.SQL.Add('SELECT * FROM [Начисление заработной
платы] WHERE Номер LIKE ''%'+Edit1.Text+'%''');
Form1.ADOQuery3.Active:=True;
Form1.ADOQuery4.SQL.Clear;
Form1.ADOQuery4.SQL.Add('SELECT * FROM Сотрудник WHERE [Код
сотрудника] LIKE ''%'+Edit1.Text+'%''');
Form1.ADOQuery4.Active:=True;
except on e:Exception do end;
end;
end;
end.
98
Программный код формы «Сдельный наряд»
object Form9: TForm9
Left = 1810
Top = 698
Width = 666
Height = 317
Caption = #1044#1086#1082#1091#1084#1077#1085#1090'
"'#1057#1076#1077#1083#1100#1085#1099#1081'
'#1085#1072#1088#1103#1076'"'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnClose = FormClose
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 16
Top = 24
Width = 145
Height = 16
Caption = #1050#1086#1076'
'#1089#1076#1077#1083#1100#1085#1086#1075#1086'
'#1085#1072#1088#1103#1076#1072
Font.Charset = DEFAULT_CHARSET
99
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 16
Top = 48
Width = 82
Height = 16
Caption = #1044#1072#1090#1072' '#1085#1072#1088#1103#1076#1072
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 16
Top = 72
Width = 188
Height = 16
Caption =
#1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077'
'#1086#1088#1075#1072#1085#1080#1079#1072#1094#1080#1080
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
100
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label4: TLabel
Left = 16
Top = 96
Width = 111
Height = 16
Caption = #1060#1048#1054'
'#1089#1086#1090#1088#1091#1076#1085#1080#1082#1072
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label5: TLabel
Left = 16
Top = 120
Width = 166
Height = 16
Caption =
#1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077'
'#1086#1087#1077#1088#1072#1094#1080#1080
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
101
Font.Style = []
ParentFont = False
end
object Label6: TLabel
Left = 16
Top = 144
Width = 63
Height = 16
Caption = #1056#1072#1089#1094#1077#1085#1082#1072
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label7: TLabel
Left = 16
Top = 168
Width = 78
Height = 16
Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label8: TLabel
Источник: https://baza.diplomsite.ru/previewfile/527