?? frm_wxcx.frm
字號:
BeginProperty Column11
DataField = "業(yè)主意見"
Caption = "業(yè)主意見"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column12
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 Column13
DataField = "狀態(tài)"
Caption = "狀態(tài)"
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 = 794.835
EndProperty
BeginProperty Column01
ColumnWidth = 840.189
EndProperty
BeginProperty Column02
ColumnWidth = 780.095
EndProperty
BeginProperty Column03
ColumnWidth = 780.095
EndProperty
BeginProperty Column04
ColumnWidth = 599.811
EndProperty
BeginProperty Column05
ColumnWidth = 824.882
EndProperty
BeginProperty Column06
ColumnWidth = 780.095
EndProperty
BeginProperty Column07
ColumnWidth = 824.882
EndProperty
BeginProperty Column08
ColumnWidth = 780.095
EndProperty
BeginProperty Column09
ColumnWidth = 840.189
EndProperty
BeginProperty Column10
ColumnWidth = 840.189
EndProperty
BeginProperty Column11
ColumnWidth = 810.142
EndProperty
BeginProperty Column12
ColumnWidth = 840.189
EndProperty
BeginProperty Column13
ColumnWidth = 720
EndProperty
EndProperty
End
End
Begin VB.Frame Frame1
Height = 1215
Left = 75
TabIndex = 0
Top = 45
Width = 6990
Begin VB.Frame Frame2
Height = 990
Left = 5865
TabIndex = 10
Top = 120
Width = 945
Begin VB.CommandButton Command2
Caption = "退出"
Height = 345
Left = 90
TabIndex = 12
Top = 555
Width = 735
End
Begin VB.CommandButton Command1
Caption = "查詢"
Height = 345
Left = 90
TabIndex = 11
Top = 165
Width = 735
End
End
Begin VB.TextBox Text1
Height = 300
Left = 4500
TabIndex = 9
Top = 210
Width = 1215
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "Frm_wxcx.frx":0015
Left = 3195
List = "Frm_wxcx.frx":0025
Style = 2 'Dropdown List
TabIndex = 8
Top = 210
Width = 1290
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "Frm_wxcx.frx":0038
Left = 1650
List = "Frm_wxcx.frx":0048
Style = 2 'Dropdown List
TabIndex = 7
Top = 210
Width = 1530
End
Begin MSComCtl2.DTPicker DTPicker2
Height = 345
Left = 4500
TabIndex = 6
Top = 675
Width = 1275
_ExtentX = 2249
_ExtentY = 609
_Version = 393216
Format = 204800001
CurrentDate = 38210
End
Begin MSComCtl2.DTPicker DTPicker1
Height = 345
Left = 2460
TabIndex = 4
Top = 675
Width = 1275
_ExtentX = 2249
_ExtentY = 609
_Version = 393216
Format = 204800001
CurrentDate = 38210
End
Begin VB.OptionButton Option2
Caption = "按開工時間查詢"
Height = 330
Left = 105
TabIndex = 2
Top = 720
Width = 1575
End
Begin VB.OptionButton Option1
Caption = "請選擇查詢條件"
Height = 375
Left = 90
TabIndex = 1
Top = 165
Width = 1665
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "結(jié)束日期"
Height = 180
Left = 3750
TabIndex = 5
Top = 765
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "起始日期"
Height = 180
Left = 1710
TabIndex = 3
Top = 780
Width = 720
End
End
End
Attribute VB_Name = "Frm_wxcx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Option1_Click()
Combo1.Enabled = True
Combo2.Enabled = True
Text1.Enabled = True
DTPicker1.Enabled = False
DTPicker2.Enabled = False
End Sub
Private Sub Option2_Click()
Combo1.Enabled = False
Combo2.Enabled = False
Text1.Enabled = False
DTPicker1.Enabled = True
DTPicker2.Enabled = True
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then Command1.SetFocus
End Sub
Private Sub Command1_Click()
If Combo1.Enabled = True Then
If Combo2.Text = "like" Then
Adodc1.RecordSource = "select * from tab_wxinfo where " & Combo1.Text & " " & Combo2.Text & " '%" & Text1.Text & "%'"
Adodc1.Refresh
Else
Adodc1.RecordSource = "select * from tab_wxinfo where " & Combo1.Text & " " & Combo2.Text & " '" & Text1.Text & "'"
Adodc1.Refresh
End If
Else
Adodc1.RecordSource = "select * from tab_wxinfo where 開工時間='" + Str(DTPicker1.Value) + "'and 完工時間='" + Str(DTPicker2.Value) + "'"
Adodc1.Refresh
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -