📄 ad_qry_depreciationsubject.dfm
字号:
inherited Frm_Ad_Qry_DepreciationSubject: TFrm_Ad_Qry_DepreciationSubject
Left = 129
Top = 193
Caption = '折旧计提明细表_按费用科目'
ClientHeight = 444
ClientWidth = 780
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 780
inherited ToolBar: TToolBar
inherited TlBtn_Sum: TToolButton
Action = Act_Delete
end
end
end
inherited Pnl_Title: TPanel
Width = 780
Caption = '折旧计提明细表_按费用科目'
inherited Image2: TImage
Width = 780
end
end
inherited Pnl_Head: TPanel
Width = 780
inherited Image1: TImage
Width = 780
end
inherited Lbl_Order: TLabel
Left = 75
Width = 126
Caption = '科目代码/固定资产编号'
end
end
inherited Pnl_Hint: TPanel
Top = 418
Width = 780
inherited Image4: TImage
Width = 780
end
end
inherited Pnl_Body: TPanel
Width = 780
Height = 321
inherited Image3: TImage
Width = 780
Height = 321
end
inherited DBGridEh: TDBGridEh
Width = 780
Height = 321
FooterRowCount = 1
SumList.Active = True
Columns = <
Item
FieldName = 'KmFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '费用科目标识'
Width = 200
Footer.Color = clYellow
Footer.ValueType = fvtStaticText
Footer.Value = '合计'
KeyList.Strings = ()
end
Item
FieldName = 'AssetFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '固定资产标识'
Width = 158
Footer.Color = clYellow
KeyList.Strings = ()
end
Item
FieldName = 'AssetTypeFlag'
PickList.Strings = ()
Title.Caption = '资产类别'
Width = 150
endEllipsis = True
KeyList.Strings = ()
end
Item
FieldName = 'DepreciationMonth'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '月份'
Width = 80
Footer.Color = clYellow
KeyList.Strings = ()
end
Item
FieldName = 'SumDepreciation'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '折旧额'
Width = 100
Footer.Alignment = tArightJustify
Footer.Color = clYellow
Footer.ValueType = fvtSum
Footer.FieldName = 'SumDepreciation'
KeyList.Strings = ()
end
Item
FieldName = 'SDepreciation'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '占折旧总额(%)'
Width = 100
Footer.Alignment = tArightJustify
Footer.Color = clYellow
Footer.ValueType = fvtSum
Footer.FieldName = 'SDepreciation'
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 445
Top = 283
end
inherited ActionList: TActionList
Left = 440
Top = 200
inherited Act_Delete: TAction
Enabled = False
Visible = False
end
end
inherited AdoQry_Main: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=Mrpii_Standard;Data Source=192.1' +
'68.0.151;Use procedure for Prepare=1;Auto Translate=True;Packet ' +
'Size=4096;Workstation ID=XYB'
CurSorType = ctStatic
SQL.Strings = (
'select Ad_Depreciation_Subject.KMCode,Gl_AccountSubject.KmName,A' +
'D_Depreciation_Subject.KMCode+'#39#39'+Gl_AccountSubject.KmName KmFlag'
',Ad_Depreciation_Subject.AssetCode,Ad_AssetCard.AssetName,Ad_Dep' +
'reciation_Subject.AssetCode+'#39' '#39'+Ad_AssetCard.AssetName AssetFlag'
',Ad_Depreciation_Subject.DepreciationMonth,Sum(Depreciation) Sum' +
'Depreciation '
' ,Sum(Depreciation)/(Select Sum(Depreciation) from Ad_Depreciati' +
'on_Subject Where DepreciationMonth Between '#39'2002.02'#39' And '#39'2002.0' +
'4'#39' And KmCode Between '#39'1001'#39' And '#39'1002'#39' )*100 SDepreciation '
' from Ad_Depreciation_Subject,Gl_AccountSubject,Ad_AssetCard '
' Where Ad_Depreciation_Subject.KmCode Between '#39'1001'#39' And '#39'1002'#39
' And DepreciationMonth Between '#39'2002.02'#39' And '#39'2002.04'#39
' And Ad_Depreciation_Subject.KmCode=Gl_AccountSubject.KmCode '
' And Ad_Depreciation_Subject.AssetCode=Ad_AssetCard.AssetCode'
' Group By Ad_Depreciation_Subject.KmCode,Gl_AccountSubject.KmNa' +
'me,Ad_Depreciation_Subject.AssetCode,Ad_AssetCard.AssetName,Ad_D' +
'epreciation_Subject.DepreciationMonth ')
Left = 312
Top = 241
end
inherited DataSource: TDataSource
Left = 368
Top = 257
end
inherited PopuPmenu: TPopuPmenu
Left = 232
Top = 225
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -