📄 frmdataenv.frm
字号:
VERSION 5.00
Begin VB.Form frmDataEnv
Caption = "What Year ?"
ClientHeight = 1305
ClientLeft = 60
ClientTop = 345
ClientWidth = 2535
LinkTopic = "Form1"
ScaleHeight = 1305
ScaleWidth = 2535
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdRunReport
Caption = "Run Report"
Height = 495
Left = 720
TabIndex = 1
Top = 600
Width = 1215
End
Begin VB.TextBox txtYear
Height = 285
Left = 120
TabIndex = 0
Top = 120
Width = 2295
End
End
Attribute VB_Name = "frmDataEnv"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdRunReport_Click()
If IsNumeric(txtYear.Text) = True Then
DataEnvironment1.Command1 txtYear.Text
DataReport1.Show
Else
MsgBox "Please enter a valid year, YYYY", 64
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -