📄 gl_qry_accountbook1.dfm
字号:
inherited Frm_Gl_Qry_AccountBook1: TFrm_Gl_Qry_AccountBook1
Left = 26
Top = 121
Caption = '总分类账'
PixelsPerInch = 96
TextHeight = 12
inherited Pnl_Title: TPanel
Caption = '总分类账'
end
inherited Pnl_Head: TPanel
inherited Lbl_OrderTitle: TLabel
Top = 22
end
inherited Lbl_Order: TLabel
Top = 22
Width = 48
Caption = '科目代码'
end
end
inherited Pnl_Body: TPanel
inherited DBGridEh: TDBGridEh
FrozenCols = 2
Columns = <
Item
FieldName = 'kmCode'
PickList.Strings = ()
Width = 57
KeyList.Strings = ()
end
Item
FieldName = 'kmName'
PickList.Strings = ()
Width = 137
KeyList.Strings = ()
end
Item
FieldName = 'debitAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'creditAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'Balancedirection'
PickList.Strings = (
'1 借方'
'2 贷方')
Width = 54
KeyList.Strings = (
'1'
'2')
end
Item
FieldName = 'Balance'
PickList.Strings = ()
Width = 65
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
Left = 208
Top = 208
end
inherited AdoQry_Main: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdysjmrm;Data Source=192.168.0.1' +
'51;Use procedure for Prepare=1;Auto Translate=True;Packet Size=4' +
'096;Workstation ID=XYB'
SQL.Strings = (
'select t1.kmCode,'
' t2.kmName,'
' sum(t1.debitAmount) as debitAmount,'
' sum(t1.creditAmount) as creditAmount,'
' 0 as Balancedirection,'
' 0.0 as Balance'
'from Gl_Credenceline t1'
'left join Gl_AccountSubject t2 on t1.kmCode=t2.kmCode'
'group by t1.kmCode,t2.kmName')
Left = 184
Top = 257
object AdoQry_MainkmCode: TStringField
DisplayLabel = '科目代码'
FieldName = 'kmCode'
Origin = '#CredencesummQry'
Size = 15
end
object AdoQry_MainkmName: TStringField
DisplayLabel = '科目名称'
FieldName = 'kmName'
Origin = '#CredencesummQry'
Size = 40
end
object AdoQry_MaindebitAmount: TFloatField
DisplayLabel = '借方金额'
FieldName = 'debitAmount'
Origin = '#CredencesummQry'
ReadOnly = True
end
object AdoQry_MaincreditAmount: TFloatField
DisplayLabel = '贷方金额'
FieldName = 'creditAmount'
Origin = '#CredencesummQry'
ReadOnly = True
end
object AdoQry_MainBalancedirection: TIntegerField
DisplayLabel = '余额方向'
FieldName = 'Balancedirection'
Origin = '#CredencesummQry'
ReadOnly = True
end
object AdoQry_MainBalance: TFloatField
DisplayLabel = '余额'
FieldName = 'Balance'
Origin = '#CredencesummQry'
ReadOnly = True
end
end
inherited DataSource: TDataSource
Left = 336
Top = 153
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -