dtpicker1.frm
来自「音像制品管理系统共分为四个功能模块」· FRM 代码 · 共 109 行
FRM
109 行
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form selectpayinpoint
BorderStyle = 1 'Fixed Single
Caption = "进货点选择"
ClientHeight = 1812
ClientLeft = 48
ClientTop = 336
ClientWidth = 3432
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1812
ScaleWidth = 3432
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command1
Caption = "确 定"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.8
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 1080
TabIndex = 3
Top = 1200
Width = 1212
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H8000000A&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 480
Left = 120
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 2
Top = 120
Width = 480
End
Begin MSComCtl2.DTPicker DTPicker1
BeginProperty DataFormat
Type = 1
Format = "dddddd"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 3
EndProperty
Height = 375
Left = 720
TabIndex = 0
Top = 600
Width = 2175
_ExtentX = 3831
_ExtentY = 656
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "楷体_GB2312"
Size = 10.8
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Format = 24510465
CurrentDate = 36686
End
Begin VB.Label Label1
Caption = "选择歌碟的进货日期,以确定到日前销量最差的碟"
Height = 372
Left = 720
TabIndex = 1
Top = 120
Width = 2412
End
End
Attribute VB_Name = "selectpayinpoint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
vcdpandian.Adodc1.CommandType = adCmdText
vcdpandian.Adodc1.RecordSource = "select * from 总表 where 数量>原始数量*1/2 and 入库时间<= # " & DTPicker1.Value & "# order by 数量 desc"
vcdpandian.Adodc1.Refresh
vcdpandian.Show
selectpayinpoint.Hide
Set selectpayinpoint = Nothing
End Sub
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
MDIForm1.StatusBar1.Panels(1) = "确定进货日期"
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
MDIForm1.StatusBar1.Panels(1) = " 选择一个进货入库日期"
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?