📄 gl_qry_chginfocredencetypeh.pas
字号:
unit Gl_Qry_ChgInfoCredenceTypeH;
Interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Base_Qry, Menus, ExtPrintReport, Db, ActnList, AdODB, Grids, DBGridEh,
StdCtrls, ExtCtrls, ComCtrls, ToolWin, jpeg;
Type
TFrm_Gl_Qry_ChgInfoCredenceTypeH = Class(TFrm_Base_Qry)
AdoQry_MainCharacterNo: TStringField;
AdoQry_MainCharacterCode: TStringField;
AdoQry_MainCharacterName: TStringField;
AdoQry_MainLimitType: TIntegerField;
AdoQry_MainChgEmployeeCode: TStringField;
AdoQry_MainEmployeeName: TStringField;
AdoQry_MainChgEmployeeB: TStringField;
AdoQry_MainChgTime: TDateTimeField;
AdoQry_MainChgType: TStringField;
private
{ Private declarations }
public
{ Public declarations }
procedure InitForm(AdOConnection:TAdOConnection;ReadOnly:Boolean);Override;
end;
var
Frm_Gl_Qry_ChgInfoCredenceTypeH: TFrm_Gl_Qry_ChgInfoCredenceTypeH;
implementation
uses Gl_Qry_ChgInfoCredenceTypeH_C;
{$R *.DFM}
procedure TFrm_Gl_Qry_ChgInfoCredenceTypeH.InitForm(AdOConnection: TAdOConnection;
ReadOnly: Boolean);
begin
inherited;
SelectFromSql:='select Gl_CredenceTypeHistory.CharacterNo,'+
' Gl_CredenceTypeHistory.CharacterCode,'+
' Gl_CredenceTypeHistory.CharacterName,'+
' Gl_CredenceTypeHistory.LimitType,'+
' Gl_CredenceTypeHistory.ChgEmployeeCode,'+
' Employee.EmployeeName,'+
' Gl_CredenceTypeHistory.ChgEmployeeCode+'' ''+Employee.EmployeeName as ChgEmployeeB,'+
' Gl_CredenceTypeHistory.ChgTime,'+
' Gl_CredenceTypeHistory.ChgType'+
' from Gl_CredenceTypeHistory'+
' left join Employee on Gl_CredenceTypeHistory.ChgEmployeeCode=Employee.EmployeeCode';
OrderByFields:=' chgtime ';
Frm_Sys_Condition:=TFrm_Gl_Qry_ChgInfoCredenceTypeH_C.Create(self);
Act_Filter.Execute;
conditionuserDefine:=condition;
Frm_Sys_Condition:=nil;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -