📄 frmsellbillquery.frm
字号:
BackColor = &H00C0C0C0&
Caption = "|>末条"
Height = 375
Left = 3120
Style = 1 'Graphical
TabIndex = 5
Top = 6030
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton cmdClose
BackColor = &H00C0C0C0&
Caption = "关闭窗口"
Height = 375
Left = 5100
Style = 1 'Graphical
TabIndex = 4
Top = 6000
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton cmdFirst
BackColor = &H00C0C0C0&
Caption = "|<首条"
Height = 375
Left = 240
Style = 1 'Graphical
TabIndex = 3
Top = 6030
Visible = 0 'False
Width = 855
End
Begin VB.Frame Frame2
BackColor = &H00C0C0C0&
Caption = "购货清单明细"
ForeColor = &H00FF0000&
Height = 2475
Left = 315
TabIndex = 0
Top = 3540
Width = 7620
Begin MSDataGridLib.DataGrid DataGrid1
Bindings = "frmSellBillQuery.frx":001F
Height = 1875
Left = 75
TabIndex = 8
Top = 225
Width = 7515
_ExtentX = 13256
_ExtentY = 3307
_Version = 393216
AllowUpdate = 0 'False
BackColor = 12648447
ForeColor = 16711680
HeadLines = 1
RowHeight = 14
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataMember = "购货清单明细"
ColumnCount = 7
BeginProperty Column00
DataField = "订单号码"
Caption = "订单号码"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "货品代号"
Caption = "代号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "货品品名"
Caption = "品名"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "货品单价"
Caption = "单价"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "货品单位积分"
Caption = "积分"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "购货数量"
Caption = "数量"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "购货金额"
Caption = "金额"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
ColumnWidth = 1124.787
EndProperty
BeginProperty Column01
ColumnWidth = 1289.764
EndProperty
BeginProperty Column02
ColumnWidth = 1860.095
EndProperty
BeginProperty Column03
ColumnWidth = 599.811
EndProperty
BeginProperty Column04
ColumnWidth = 585.071
EndProperty
BeginProperty Column05
ColumnWidth = 734.74
EndProperty
BeginProperty Column06
ColumnWidth = 1005.165
EndProperty
EndProperty
End
Begin VB.TextBox txt总计积分
BackColor = &H00C0FFFF&
DataField = "总计积分"
DataMember = "购货清单"
DataSource = "DataEnvironment1"
ForeColor = &H000000FF&
Height = 285
Left = 6555
TabIndex = 1
Top = 2130
Width = 1000
End
Begin VB.Label lblFieldLabel
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackColor = &H00C0C0C0&
Caption = "总计积分:"
ForeColor = &H00FF0000&
Height = 255
Index = 3
Left = 5355
TabIndex = 2
Top = 2190
Width = 1095
End
End
Begin VB.CommandButton cmdSearch
BackColor = &H00C0C0C0&
Caption = "查询"
Height = 320
Left = 4275
Style = 1 'Graphical
TabIndex = 28
Top = 6075
Visible = 0 'False
Width = 735
End
Begin ComctlLib.ImageList ImageList1
Left = 0
Top = 825
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 6
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmSellBillQuery.frx":003E
Key = ""
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmSellBillQuery.frx":0358
Key = ""
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmSellBillQuery.frx":0672
Key = ""
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmSellBillQuery.frx":098C
Key = ""
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmSellBillQuery.frx":0CA6
Key = ""
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmSellBillQuery.frx":0FC0
Key = ""
EndProperty
EndProperty
End
End
Attribute VB_Name = "frmSellBillQuery"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub cmdFirst_Click()
On Error GoTo ErrorHandle
DataEnvironment1.rs购货清单.MoveFirst
ErrorHandle:
Exit Sub
End Sub
Private Sub cmdLast_Click()
On Error GoTo ErrorHandle
DataEnvironment1.rs购货清单.MoveLast
ErrorHandle:
Exit Sub
End Sub
Private Sub cmdNext_Click()
On Error GoTo ErrorHandle
With DataEnvironment1.rs购货清单
.MoveNext
If .EOF Then
.MovePrevious
End If
End With
ErrorHandle:
Exit Sub
End Sub
Private Sub cmdPrevious_Click()
On Error GoTo ErrorHandle
With DataEnvironment1.rs购货清单
.MovePrevious
If .BOF Then
.MoveNext
End If
End With
ErrorHandle:
Exit Sub
End Sub
Private Sub cmdSearch_Click()
Dim Sql As String
If Option1.Value = True Then
Sql = "select * from 购货清单 where 订单号码= '" & txt订单号码.Text & "'"
DataEnvironment1.购货清单
End If
If Option2.Value = True Then
End If
If Option3.Value = True Then
End If
End Sub
Private Sub cmdSelect1_Click()
varSelect = 1
frmSelect.Show 1
End Sub
Private Sub cmdSelect2_Click()
varSelect = 2
frmSelect.Show 1
End Sub
Private Sub cmdSelect3_Click()
varSelect = 3
frmSlectMingxi.Show 1
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub MSHFlexGrid1_Click()
End Sub
Private Sub Form_Load()
varSelect = 0
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As ComctlLib.Button)
Select Case Button.Key
Case "First"
cmdFirst_Click
Case "Next"
cmdNext_Click
Case "Previous"
cmdPrevious_Click
Case "Last"
cmdLast_Click
Case "Query"
'cmdQuery_Click
Case "Close"
cmdClose_Click
End Select
End Sub
Private Sub txt订单号码_Change()
txt订单号码.Text = UCase(txt订单号码.Text)
txt订单号码.SelStart = Len(txt订单号码.Text)
End Sub
Private Sub txt业务员工号_Change()
txt业务员工号.Text = UCase(txt业务员工号.Text)
txt业务员工号.SelStart = Len(txt业务员工号.Text)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -