📄 gl_qry_balance.dfm
字号:
inherited Frm_Gl_Qry_Balance: TFrm_Gl_Qry_Balance
Left = 127
Top = 138
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
UseMultiTitle = True
Columns = <
Item
FieldName = 'kmCode'
PickList.Strings = ()
Width = 63
KeyList.Strings = ()
end
Item
FieldName = 'kmName'
PickList.Strings = ()
Width = 173
KeyList.Strings = ()
end
Item
FieldName = 'debitFirstBalance'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'creditFirstBalance'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'debitAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'creditAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'enddebitAmount'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'endcreditAmount'
PickList.Strings = ()
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 kmCode,'
' kmName,'
' case when Balancedirection=1 then FirstBalance '
' else 0 end as debitFirstBalance,'
' case when Balancedirection=2 then FirstBalance '
' else 0 end as creditFirstBalance,'
' case when Balancedirection=1 then debitBalance '
' else 0 end as debitAmount,'
' case when Balancedirection=2 then creditBalance '
' else 0 end as creditAmount,'
' case when kmproperty=1 then FirstBalance+debitBalance-cre' +
'ditBalance'
' else 0 '
' end as enddebitAmount,'
' case when kmproperty=2 then FirstBalance+creditBalance-cr' +
'editBalance'
' else 0 '
' end as endcreditAmount'
'from Gl_AccountSubject'
'left join Gl_AccountSubjectBalance on Gl_AccountSubject.kmid=Gl_' +
'AccountSubjectBalance.kmid'
'and Gl_AccountSubjectBalance.AccountperiodYear=2001 '
'and Gl_AccountSubjectBalance.AccountperiodMonth=11')
Left = 184
Top = 257
object AdoQry_MainkmCode: TStringField
DisplayLabel = '科目代码'
FieldName = 'kmCode'
Origin = '#BalanceQry'
Size = 15
end
object AdoQry_MainkmName: TStringField
DisplayLabel = '科目名称'
FieldName = 'kmName'
Origin = '#BalanceQry'
Size = 40
end
object AdoQry_MaindebitFirstBalance: TFloatField
DisplayLabel = '期初余额|借方'
FieldName = 'debitFirstBalance'
Origin = '#BalanceQry'
ReadOnly = True
end
object AdoQry_MaincreditFirstBalance: TFloatField
DisplayLabel = '期初余额|贷方'
FieldName = 'creditFirstBalance'
Origin = '#BalanceQry'
ReadOnly = True
end
object AdoQry_MaindebitAmount: TFloatField
DisplayLabel = '本期发生额|借方'
FieldName = 'debitAmount'
Origin = '#BalanceQry'
ReadOnly = True
end
object AdoQry_MaincreditAmount: TFloatField
DisplayLabel = '本期发生额|贷方'
FieldName = 'creditAmount'
Origin = '#BalanceQry'
ReadOnly = True
end
object AdoQry_MainenddebitAmount: TFloatField
DisplayLabel = '期末余额|借方'
FieldName = 'enddebitAmount'
Origin = '#BalanceQry'
ReadOnly = True
end
object AdoQry_MainendcreditAmount: TFloatField
DisplayLabel = '期末余额|贷方'
FieldName = 'endcreditAmount'
Origin = '#BalanceQry'
ReadOnly = True
end
end
inherited DataSource: TDataSource
Left = 336
Top = 153
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -