📄 frm_wxinfomd.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form Frm_wxinfomd
Caption = "维修信息"
ClientHeight = 5370
ClientLeft = 60
ClientTop = 345
ClientWidth = 6855
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 5370
ScaleWidth = 6855
StartUpPosition = 1 '所有者中心
Begin VB.Frame Frame4
Height = 750
Left = 300
TabIndex = 32
Top = 4515
Width = 4335
Begin VB.CommandButton Command6
Caption = "最后一个"
Height = 450
Left = 3225
TabIndex = 36
Top = 210
Width = 1000
End
Begin VB.CommandButton Command5
Caption = "下一个"
Height = 450
Left = 2175
TabIndex = 35
Top = 210
Width = 1000
End
Begin VB.CommandButton Command4
Caption = "上一个"
Height = 450
Left = 1155
TabIndex = 34
Top = 210
Width = 1000
End
Begin VB.CommandButton Command3
Caption = "第一个"
Height = 450
Left = 120
TabIndex = 33
Top = 210
Width = 1000
End
End
Begin MSAdodcLib.Adodc Adodc1
Height = 345
Left = 1980
Top = 5385
Width = 2055
_ExtentX = 3625
_ExtentY = 609
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db_wygl.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db_wygl.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from tab_wxinfo"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Frame Frame2
Height = 750
Left = 4740
TabIndex = 29
Top = 4515
Width = 1875
Begin VB.CommandButton Command2
Caption = "返回"
Height = 480
Left = 990
TabIndex = 31
Top = 180
Width = 795
End
Begin VB.CommandButton Command1
Caption = "更新"
Height = 465
Left = 120
TabIndex = 30
Top = 195
Width = 810
End
End
Begin VB.Frame Frame1
Caption = "维修信息登记栏"
Height = 4350
Left = 285
TabIndex = 0
Top = 135
Width = 6270
Begin VB.ComboBox Combo3
DataField = "状态"
DataSource = "Adodc1"
Height = 300
Left = 4245
TabIndex = 12
Text = "Combo3"
Top = 2805
Width = 1800
End
Begin VB.ComboBox Combo2
DataField = "维修方式"
DataSource = "Adodc1"
Height = 300
Left = 4965
Style = 2 'Dropdown List
TabIndex = 11
Top = 1425
Width = 1080
End
Begin VB.TextBox Text11
DataField = "维修项目"
DataSource = "Adodc1"
Height = 300
Left = 3435
TabIndex = 10
Top = 945
Width = 2565
End
Begin VB.ComboBox Combo1
DataField = "投诉编号"
DataSource = "Adodc1"
Height = 300
Left = 1020
Style = 2 'Dropdown List
TabIndex = 9
Top = 975
Width = 1380
End
Begin VB.TextBox Text10
DataField = "处理意见"
DataSource = "Adodc1"
Height = 780
Left = 1020
TabIndex = 8
Top = 3270
Width = 5055
End
Begin VB.TextBox Text8
DataField = "业主意见"
DataSource = "Adodc1"
Height = 300
Left = 1020
TabIndex = 7
Top = 2790
Width = 2595
End
Begin VB.TextBox Text7
DataField = "维修用料"
DataSource = "Adodc1"
Height = 300
Left = 3090
TabIndex = 6
Top = 2325
Width = 2895
End
Begin VB.TextBox Text6
DataField = "维修金额"
DataSource = "Adodc1"
Height = 300
Left = 1005
TabIndex = 5
Top = 2310
Width = 1185
End
Begin VB.TextBox Text4
DataField = "维修人员"
DataSource = "Adodc1"
Height = 300
Left = 3015
TabIndex = 4
Top = 1425
Width = 1000
End
Begin VB.TextBox Text3
DataField = "接待人"
DataSource = "Adodc1"
Height = 300
Left = 1020
TabIndex = 3
Top = 1410
Width = 1000
End
Begin VB.TextBox Text2
DataField = "居住位置"
DataSource = "Adodc1"
Height = 300
Left = 3450
TabIndex = 2
Top = 495
Width = 2565
End
Begin VB.TextBox Text1
DataField = "维修编号"
DataSource = "Adodc1"
Height = 300
Left = 1020
TabIndex = 1
Top = 525
Width = 1410
End
Begin MSComCtl2.DTPicker DTPicker1
DataField = "开工时间"
DataSource = "Adodc1"
Height = 300
Left = 1005
TabIndex = 13
Top = 1845
Width = 1320
_ExtentX = 2328
_ExtentY = 529
_Version = 393216
Format = 49807361
CurrentDate = 38199
End
Begin MSComCtl2.DTPicker DTPicker2
DataField = "完工时间"
DataSource = "Adodc1"
Height = 300
Left = 2970
TabIndex = 14
Top = 1860
Width = 1335
_ExtentX = 2355
_ExtentY = 529
_Version = 393216
Format = 49807361
CurrentDate = 38199
End
Begin VB.Label Label14
AutoSize = -1 'True
Caption = "状态:"
Height = 180
Left = 3705
TabIndex = 28
Top = 2805
Width = 540
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "至"
Height = 180
Left = 2550
TabIndex = 27
Top = 1905
Width = 180
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "维修用料:"
Height = 180
Left = 2220
TabIndex = 26
Top = 2340
Width = 900
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "维修方式:"
Height = 165
Left = 4110
TabIndex = 25
Top = 1470
Width = 900
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "维修人员:"
Height = 300
Left = 2100
TabIndex = 24
Top = 1470
Width = 900
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "维修项目:"
Height = 180
Left = 2535
TabIndex = 23
Top = 1005
Width = 900
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "投诉编号:"
Height = 180
Left = 150
TabIndex = 22
Top = 1050
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "维修编号:"
Height = 180
Left = 165
TabIndex = 21
Top = 600
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "居住位置:"
Height = 180
Left = 2550
TabIndex = 20
Top = 555
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "接待人:"
Height = 165
Left = 135
TabIndex = 19
Top = 1470
Width = 720
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "维修金额:"
Height = 180
Left = 135
TabIndex = 18
Top = 2400
Width = 900
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "时间从:"
Height = 180
Left = 135
TabIndex = 17
Top = 1980
Width = 720
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "业主意见:"
Height = 180
Left = 165
TabIndex = 16
Top = 2865
Width = 900
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "处理意见:"
Height = 180
Left = 165
TabIndex = 15
Top = 3345
Width = 900
End
End
End
Attribute VB_Name = "Frm_wxinfomd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Adodc1.Recordset.UpdateBatch
MsgBox "修改成功"
Adodc1.Refresh
End Sub
Private Sub Command2_Click()
Frm_wxinfo.Show
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.MoveFirst
End Sub
Private Sub Command4_Click()
Adodc1.Recordset.MovePrevious
If Adodc1.Recordset.BOF Then Adodc1.Recordset.MoveFirst
End Sub
Private Sub Command5_Click()
Adodc1.Recordset.MoveNext
If Adodc1.Recordset.EOF Then Adodc1.Recordset.MoveLast
End Sub
Private Sub Command6_Click()
Adodc1.Recordset.MoveLast
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -