?? ghsghcx1.dfm
字號:
object ghsghcx: Tghsghcx
Left = 188
Top = 191
Width = 657
Height = 468
Caption = '供貨商供貨查詢'
Color = clBtnFace
DefaultMonitor = dmMainForm
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = '宋體'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 12
object Panel1: TPanel
Left = 0
Top = 0
Width = 649
Height = 57
Align = alTop
BevelOuter = bvNone
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 16
Width = 60
Height = 12
Caption = '商品編碼:'
end
object Label2: TLabel
Left = 152
Top = 16
Width = 60
Height = 12
Caption = '商品名稱:'
end
object Label3: TLabel
Left = 336
Top = 16
Width = 60
Height = 12
Caption = '主供貨商:'
end
object Label4: TLabel
Left = 19
Top = 41
Width = 48
Height = 12
Caption = '時間段:'
end
object Label5: TLabel
Left = 163
Top = 40
Width = 12
Height = 12
Caption = '至'
end
object Edit1: TEdit
Left = 66
Top = 8
Width = 81
Height = 20
TabOrder = 0
end
object Edit2: TEdit
Left = 210
Top = 8
Width = 121
Height = 20
TabOrder = 1
end
object Edit3: TEdit
Left = 394
Top = 8
Width = 89
Height = 20
TabOrder = 2
end
object Button1: TButton
Left = 438
Top = 29
Width = 62
Height = 25
Caption = '查詢'
Default = True
TabOrder = 3
OnClick = Button1Click
end
object Button2: TButton
Left = 506
Top = 29
Width = 58
Height = 25
Caption = '打印'
TabOrder = 4
OnClick = Button2Click
end
object DateTimePicker1: TDateTimePicker
Left = 67
Top = 32
Width = 93
Height = 20
CalAlignment = dtaLeft
Date = 37260
Time = 37260
DateFormat = dfShort
DateMode = dmComboBox
Kind = dtkDate
ParseInput = False
TabOrder = 5
end
object DateTimePicker2: TDateTimePicker
Left = 179
Top = 32
Width = 93
Height = 20
CalAlignment = dtaLeft
Date = 37260.9583333333
Time = 37260.9583333333
DateFormat = dfShort
DateMode = dmComboBox
Kind = dtkDate
ParseInput = False
TabOrder = 6
end
object Button3: TButton
Left = 569
Top = 29
Width = 58
Height = 25
Caption = 'Excel'
TabOrder = 7
OnClick = Button3Click
end
end
object dxDBGrid1: TdxDBGrid
Left = 0
Top = 57
Width = 649
Height = 384
Bands = <
item
end>
DefaultLayout = True
HeaderPanelRowCount = 1
KeyField = 'kdrq'
ShowSummaryFooter = True
SummaryGroups = <>
SummarySeparator = ', '
Align = alClient
Color = 15524050
Font.Charset = GB2312_CHARSET
Font.Color = 7479077
Font.Height = -12
Font.Name = '宋體'
Font.Style = []
ParentFont = False
TabOrder = 1
BandFont.Charset = GB2312_CHARSET
BandFont.Color = clWindowText
BandFont.Height = -12
BandFont.Name = '宋體'
BandFont.Style = []
DataSource = DataSource1
Filter.Active = True
Filter.Criteria = {00000000}
GridLineColor = 7479077
HeaderFont.Charset = GB2312_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -12
HeaderFont.Name = '宋體'
HeaderFont.Style = []
LookAndFeel = lfFlat
OptionsBehavior = [edgoAutoSort, edgoDragScroll, edgoEditing, edgoEnterShowEditor, edgoImmediateEditor, edgoStoreToRegistry, edgoTabThrough, edgoVertThrough]
OptionsDB = [edgoCancelOnExit, edgoCanDelete, edgoCanInsert, edgoCanNavigation, edgoConfirmDelete, edgoLoadAllRecords, edgoSmartRefresh, edgoSmartReload, edgoUseBookmarks]
OptionsView = [edgoBandHeaderWidth, edgoIndicator, edgoRowSelect, edgoUseBitmap]
PreviewFont.Charset = DEFAULT_CHARSET
PreviewFont.Color = clBlue
PreviewFont.Height = -12
PreviewFont.Name = '宋體'
PreviewFont.Style = []
RegistryPath = '\Software\server\ghsghcx'
object dxDBGrid1kdrq: TdxDBGridDateColumn
Width = 70
BandIndex = 0
RowIndex = 0
FieldName = 'kdrq'
end
object dxDBGrid1ghscode: TdxDBGridMaskColumn
Width = 82
BandIndex = 0
RowIndex = 0
FieldName = 'ghscode'
end
object dxDBGrid1ghaname: TdxDBGridMaskColumn
Width = 119
BandIndex = 0
RowIndex = 0
FieldName = 'ghaname'
end
object dxDBGrid1spcode: TdxDBGridMaskColumn
Width = 74
BandIndex = 0
RowIndex = 0
FieldName = 'spcode'
end
object dxDBGrid1spname: TdxDBGridMaskColumn
Width = 174
BandIndex = 0
RowIndex = 0
FieldName = 'spname'
end
object dxDBGrid1dj: TdxDBGridMaskColumn
Width = 51
BandIndex = 0
RowIndex = 0
FieldName = 'dj'
end
object dxDBGrid1sl: TdxDBGridMaskColumn
Width = 62
BandIndex = 0
RowIndex = 0
FieldName = 'sl'
SummaryFooterType = cstSum
end
object dxDBGrid1sui: TdxDBGridMaskColumn
Width = 61
BandIndex = 0
RowIndex = 0
FieldName = 'sui'
end
object dxDBGrid1je: TdxDBGridMaskColumn
Width = 75
BandIndex = 0
RowIndex = 0
FieldName = 'je'
SummaryFooterType = cstSum
end
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 208
Top = 136
end
object ADOQuery1: TADOQuery
Connection = MainForm.ADOConnection1
CursorType = ctStatic
Parameters = <
item
Name = 'rq1'
Attributes = [paNullable]
DataType = ftDateTime
NumericScale = 3
Precision = 23
Size = 16
Value = 36892d
end
item
Name = 'rq2'
Attributes = [paNullable]
DataType = ftDateTime
NumericScale = 3
Precision = 23
Size = 16
Value = 37621d
end
item
Name = 'code'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 15
Value = '%'
end
item
Name = 'name'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 100
Value = '%'
end
item
Name = 'ghs'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 5
Value = '%'
end>
SQL.Strings = (
'select * from ghsghcx_v'
'where kdrq>=:rq1 and kdrq<=:rq2 and '
'spcode like :code and'
'spname like :name and ghscode like :ghs')
Left = 248
Top = 136
object ADOQuery1kdrq: TDateTimeField
DisplayLabel = '日期'
FieldName = 'kdrq'
end
object ADOQuery1ghscode: TStringField
DisplayLabel = '供貨商編碼'
FieldName = 'ghscode'
Size = 5
end
object ADOQuery1ghaname: TStringField
DisplayLabel = '供貨商名稱'
FieldName = 'ghaname'
Size = 200
end
object ADOQuery1spcode: TStringField
DisplayLabel = '商品編碼'
FieldName = 'spcode'
Size = 15
end
object ADOQuery1spname: TStringField
DisplayLabel = '商品名稱'
FieldName = 'spname'
Size = 100
end
object ADOQuery1sl: TBCDField
DisplayLabel = '數量'
FieldName = 'sl'
Precision = 32
Size = 2
end
object ADOQuery1dj: TBCDField
DisplayLabel = '單價'
FieldName = 'dj'
Precision = 18
Size = 2
end
object ADOQuery1sui: TBCDField
DisplayLabel = '稅率'
FieldName = 'sui'
Precision = 18
Size = 2
end
object ADOQuery1je: TBCDField
DisplayLabel = '金額'
FieldName = 'je'
Precision = 32
Size = 2
end
end
object dxComponentPrinter1: TdxComponentPrinter
CurrentLink = dxComponentPrinter1Link1
PreviewOptions.Caption = '供貨商供貨匯總表'
PreviewOptions.RegistryPath = 'Software\Developer Express\PrintingSystem\DesignTime'
PrintTitle = '供貨商供貨匯總表'
Left = 275
Top = 168
object dxComponentPrinter1Link1: TdxDBGridReportLink
Active = True
Component = dxDBGrid1
DesignerHelpContext = 0
PrinterPage.CenterOnPageH = True
PrinterPage.DMPaper = 9
PrinterPage.Footer = 6350
PrinterPage.Header = 6350
PrinterPage.Margins.Bottom = 12700
PrinterPage.Margins.Left = 10000
PrinterPage.Margins.Right = 10000
PrinterPage.Margins.Top = 12700
PrinterPage.PageFooter.Font.Charset = DEFAULT_CHARSET
PrinterPage.PageFooter.Font.Color = clWindowText
PrinterPage.PageFooter.Font.Height = -11
PrinterPage.PageFooter.Font.Name = 'Tahoma'
PrinterPage.PageFooter.Font.Style = []
PrinterPage.PageHeader.Font.Charset = DEFAULT_CHARSET
PrinterPage.PageHeader.Font.Color = clWindowText
PrinterPage.PageHeader.Font.Height = -11
PrinterPage.PageHeader.Font.Name = 'Tahoma'
PrinterPage.PageHeader.Font.Style = []
PrinterPage.PageHeader.RightTitle.Strings = (
'第[Page #]頁共[Total Pages]頁')
PrinterPage.PageSize.X = 210000
PrinterPage.PageSize.Y = 297000
PrinterPage.ScaleMode = smFit
PrinterPage._dxMeasurementUnits_ = 0
PrinterPage._dxLastMU_ = 2
ReportTitle.Font.Charset = DEFAULT_CHARSET
ReportTitle.Font.Color = clWindowText
ReportTitle.Font.Height = -19
ReportTitle.Font.Name = 'Times New Roman'
ReportTitle.Font.Style = [fsBold]
ReportTitle.Text = '供貨商供貨匯總表'
ShrinkToPageWidth = True
BandFont.Charset = DEFAULT_CHARSET
BandFont.Color = clWindowText
BandFont.Height = -11
BandFont.Name = 'Times New Roman'
BandFont.Style = []
EvenFont.Charset = DEFAULT_CHARSET
EvenFont.Color = clWindowText
EvenFont.Height = -11
EvenFont.Name = 'Times New Roman'
EvenFont.Style = []
FixedTransparent = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Times New Roman'
Font.Style = []
FooterFont.Charset = DEFAULT_CHARSET
FooterFont.Color = clWindowText
FooterFont.Height = -11
FooterFont.Name = 'Times New Roman'
FooterFont.Style = []
GroupNodeFont.Charset = DEFAULT_CHARSET
GroupNodeFont.Color = clWindowText
GroupNodeFont.Height = -11
GroupNodeFont.Name = 'Times New Roman'
GroupNodeFont.Style = []
HeaderFont.Charset = DEFAULT_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -11
HeaderFont.Name = 'Times New Roman'
HeaderFont.Style = []
OddFont.Charset = DEFAULT_CHARSET
OddFont.Color = clWindowText
OddFont.Height = -11
OddFont.Name = 'Times New Roman'
OddFont.Style = []
Options = [tlpoHeaders, tlpoFooters, tlpoRowFooters, tlpoPreview, tlpoPreviewGrid, tlpoGrid, tlpoFlatCheckMarks, tlpoSoft3D, tlpoRowFooterGrid]
PreviewFont.Charset = DEFAULT_CHARSET
PreviewFont.Color = clWindowText
PreviewFont.Height = -11
PreviewFont.Name = 'Times New Roman'
PreviewFont.Style = []
RowFooterFont.Charset = DEFAULT_CHARSET
RowFooterFont.Color = clWindowText
RowFooterFont.Height = -11
RowFooterFont.Name = 'Times New Roman'
RowFooterFont.Style = []
end
end
object SaveDialog1: TSaveDialog
DefaultExt = 'xls'
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
Left = 136
Top = 176
end
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -