?? ghskccx1.dfm
字號(hào):
object ghskccx: Tghskccx
Left = 153
Top = 215
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
PixelsPerInch = 96
TextHeight = 12
object Panel1: TPanel
Left = 0
Top = 0
Width = 649
Height = 73
Align = alTop
BevelOuter = bvNone
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 16
Width = 60
Height = 12
Caption = '商品編碼:'
end
object Label2: TLabel
Left = 168
Top = 16
Width = 60
Height = 12
Caption = '商品名稱:'
end
object Label3: TLabel
Left = 8
Top = 48
Width = 60
Height = 12
Caption = '主供貨商:'
end
object Edit1: TEdit
Left = 66
Top = 8
Width = 89
Height = 20
TabOrder = 0
end
object Edit2: TEdit
Left = 226
Top = 8
Width = 121
Height = 20
TabOrder = 1
end
object Edit3: TEdit
Left = 66
Top = 40
Width = 89
Height = 20
TabOrder = 2
end
object Button1: TButton
Left = 390
Top = 37
Width = 62
Height = 25
Caption = '查詢'
Default = True
TabOrder = 3
OnClick = Button1Click
end
object Button2: TButton
Left = 458
Top = 37
Width = 58
Height = 25
Caption = '打印'
TabOrder = 4
OnClick = Button2Click
end
object Button3: TButton
Left = 522
Top = 37
Width = 58
Height = 25
Caption = 'Excel'
TabOrder = 5
OnClick = Button3Click
end
end
object dxDBGrid1: TdxDBGrid
Left = 0
Top = 73
Width = 649
Height = 368
Bands = <
item
end>
DefaultLayout = True
HeaderPanelRowCount = 1
KeyField = 'ghscode'
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\ghskccx'
object dxDBGrid1Column12: TdxDBGridMaskColumn
Width = 70
BandIndex = 0
RowIndex = 0
FieldName = 'ckcode'
end
object dxDBGrid1ghscode: TdxDBGridMaskColumn
Width = 85
BandIndex = 0
RowIndex = 0
FieldName = 'ghscode'
end
object dxDBGrid1ghsname: TdxDBGridMaskColumn
Width = 96
BandIndex = 0
RowIndex = 0
FieldName = 'ghsname'
end
object dxDBGrid1spcode: TdxDBGridMaskColumn
Width = 81
BandIndex = 0
RowIndex = 0
FieldName = 'spcode'
end
object dxDBGrid1spname: TdxDBGridMaskColumn
Width = 159
BandIndex = 0
RowIndex = 0
FieldName = 'spname'
end
object dxDBGrid1barcode: TdxDBGridMaskColumn
Width = 79
BandIndex = 0
RowIndex = 0
FieldName = 'barcode'
end
object dxDBGrid1kcsl: TdxDBGridMaskColumn
Width = 73
BandIndex = 0
RowIndex = 0
FieldName = 'kcsl'
SummaryFooterType = cstSum
end
object dxDBGrid1jhj: TdxDBGridCurrencyColumn
Width = 61
BandIndex = 0
RowIndex = 0
FieldName = 'jhj'
SummaryFooterType = cstSum
end
object dxDBGrid1hsje: TdxDBGridCurrencyColumn
Width = 73
BandIndex = 0
RowIndex = 0
FieldName = 'hsje'
SummaryFooterType = cstSum
end
object dxDBGrid1wsjj: TdxDBGridCurrencyColumn
Width = 73
BandIndex = 0
RowIndex = 0
FieldName = 'wsjj'
SummaryFooterType = cstSum
end
object dxDBGrid1wsje: TdxDBGridCurrencyColumn
Width = 78
BandIndex = 0
RowIndex = 0
FieldName = 'wsje'
SummaryFooterType = cstSum
end
object dxDBGrid1Column11: TdxDBGridMaskColumn
Width = 166
BandIndex = 0
RowIndex = 0
FieldName = 'bz'
end
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 208
Top = 136
end
object ADOQuery1: TADOQuery
Connection = MainForm.ADOConnection1
CursorType = ctStatic
Parameters = <
item
Name = 'code'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 15
Value = '%'
end
item
Name = 'barcode'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 20
Value = '%'
end
item
Name = 'name'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 50
Value = '%'
end
item
Name = 'ghs'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 5
Value = '%'
end>
SQL.Strings = (
'select * from ghskccx_v'
'where (spcode like :code or barcode like :barcode) and'
'spname like :name and ghscode like :ghs')
Left = 248
Top = 136
object ADOQuery1ghscode: TStringField
DisplayLabel = '供貨商編碼'
FieldName = 'ghscode'
Size = 5
end
object ADOQuery1ghsname: TStringField
DisplayLabel = '供貨商名稱'
FieldName = 'ghsname'
Size = 200
end
object ADOQuery1spcode: TStringField
DisplayLabel = '商品編碼'
FieldName = 'spcode'
Size = 15
end
object ADOQuery1spname: TStringField
DisplayLabel = '商品名稱'
FieldName = 'spname'
Size = 50
end
object ADOQuery1barcode: TStringField
DisplayLabel = '條形碼'
FieldName = 'barcode'
end
object ADOQuery1kcsl: TBCDField
DisplayLabel = '庫存數(shù)量'
FieldName = 'kcsl'
Precision = 18
Size = 2
end
object ADOQuery1jhj: TBCDField
DisplayLabel = '含稅價(jià)'
FieldName = 'jhj'
Precision = 18
Size = 2
end
object ADOQuery1hsje: TBCDField
DisplayLabel = '含稅金額'
FieldName = 'hsje'
ReadOnly = True
Precision = 32
end
object ADOQuery1wsjj: TBCDField
DisplayLabel = '無稅進(jìn)價(jià)'
FieldName = 'wsjj'
Precision = 18
Size = 2
end
object ADOQuery1wsje: TBCDField
DisplayLabel = '無稅金額'
FieldName = 'wsje'
ReadOnly = True
Precision = 32
end
object ADOQuery1bz: TStringField
DisplayLabel = '備注'
FieldName = 'bz'
Size = 200
end
object ADOQuery1ckcode: TStringField
DisplayLabel = '倉庫編碼'
FieldName = 'ckcode'
Size = 5
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
DateTime = 37853.8605502315
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
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -