📄 frmqinbi.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form frmqinbi
Caption = "币别汇总报告"
ClientHeight = 2535
ClientLeft = 60
ClientTop = 345
ClientWidth = 5460
Icon = "frmqinbi.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2535
ScaleWidth = 5460
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmdok
Caption = "查询(&F)"
Height = 340
Left = 1560
Style = 1 'Graphical
TabIndex = 3
Top = 2040
UseMaskColor = -1 'True
Width = 1095
End
Begin VB.CommandButton cmdcancel
Caption = "关闭(&C)"
Height = 340
Left = 3000
Style = 1 'Graphical
TabIndex = 2
Top = 2040
UseMaskColor = -1 'True
Width = 1095
End
Begin VB.Frame Frame1
Caption = "参数选项"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 1815
Left = 120
TabIndex = 0
Top = 120
Width = 5175
Begin VB.ComboBox Cmdbi
Height = 300
ItemData = "frmqinbi.frx":0442
Left = 1440
List = "frmqinbi.frx":044F
Style = 2 'Dropdown List
TabIndex = 8
Top = 480
Width = 1575
End
Begin MSComCtl2.DTPicker DTP2
Height = 375
Left = 3600
TabIndex = 4
Top = 1200
Width = 1455
_ExtentX = 2566
_ExtentY = 661
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
CalendarForeColor= 16711680
CalendarTitleBackColor= 255
Format = 59834369
CurrentDate = 36400
End
Begin MSComCtl2.DTPicker DTP1
Height = 375
Left = 1440
TabIndex = 5
Top = 1200
Width = 1575
_ExtentX = 2778
_ExtentY = 661
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
CalendarForeColor= 16711680
CalendarTitleBackColor= 255
Format = 59834369
CurrentDate = 36400
End
Begin VB.Label lbl
Caption = "到:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Index = 0
Left = 3120
TabIndex = 7
Top = 1200
Width = 375
End
Begin VB.Label lbl1
Caption = "请款日期:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Index = 2
Left = 360
TabIndex = 6
Top = 1200
Width = 1215
End
Begin VB.Label lbl1
Caption = "币别:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Index = 3
Left = 360
TabIndex = 1
Top = 480
Width = 1095
End
End
End
Attribute VB_Name = "frmqinbi"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdcancel_Click()
Unload Me
End Sub
Private Sub cmdok_Click()
Dim sql As String
sql = " qin_date>=" & "'" & DTP1.value & "'" & " and qin_date<=" & "'" & DTP2.value & "'" & " and bi=" & "'" & Cmdbi.Text & "'"
sqlcc2 = "select s_name,sum(qty) as mqty,sum(total) as mTotal from qin_view where " & sql & " group by s_name"
ARqinbi.Show 1
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyEscape Then Unload Me
End Sub
Private Sub Form_Load()
DTP1.value = "1/1/2002"
DTP2.value = Date
Cmdbi.ListIndex = 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -