📄 ad_qry_totaldepreciationasset.dfm
字号:
inherited Frm_Ad_Qry_TotalDepreciationAsset: TFrm_Ad_Qry_TotalDepreciationAsset
Left = 3
Top = 73
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 = 72
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 = 'AssetFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '固定资产标识'
Width = 300
Footer.Color = clYellow
Footer.ValueType = fvtStaticText
Footer.Value = '合计'
KeyList.Strings = ()
end
Item
FieldName = 'SumDepreciation'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '折旧额'
Width = 150
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 = 150
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.AssetCode,Ad_AssetCard.AssetName '
',Ad_Depreciation.AssetCode+'#39#39'+Ad_AssetCard.AssetName AssetFlag '
',Sum(Depreciation) SumDepreciation,Sum(Depreciation)/ '
'(Select Sum(Depreciation) from Ad_Depreciation '
' Where DepreciationMonth Between '#39'2002.02'#39' And '#39'2002.04'#39' '
' And AssetCode Between '#39'c000250'#39' And '#39'c000288'#39' '
' )*100 SDepreciation '
'from Ad_Depreciation,Ad_AssetCard'
'Where Ad_Depreciation.AssetCode Between '#39'c000250'#39' And '#39'c000288'#39' '
'And DepreciationMonth Between '#39'2002.02'#39' And '#39'2002.04'#39' '
'And Ad_Depreciation.AssetCode=Ad_AssetCard.AssetCode '
'Group By Ad_Depreciation.AssetCode,Ad_AssetCard.AssetName')
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 + -