📄 frm_zxinfomd.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_zxinfomd
Caption = "装修信息管理"
ClientHeight = 4470
ClientLeft = 60
ClientTop = 345
ClientWidth = 5715
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 4470
ScaleWidth = 5715
StartUpPosition = 1 '所有者中心
Begin VB.Frame Frame2
Height = 735
Left = 3795
TabIndex = 34
Top = 3585
Width = 1845
Begin VB.CommandButton Command1
Caption = "更新"
Height = 450
Left = 105
TabIndex = 36
Top = 195
Width = 800
End
Begin VB.CommandButton Command2
Caption = "退出"
Height = 450
Left = 930
TabIndex = 35
Top = 195
Width = 800
End
End
Begin VB.Frame Frame4
Height = 750
Left = 60
TabIndex = 29
Top = 3585
Width = 3630
Begin VB.CommandButton Command3
Caption = "第一条"
Height = 450
Left = 120
TabIndex = 33
Top = 195
Width = 800
End
Begin VB.CommandButton Command4
Caption = "上一条"
Height = 450
Left = 945
TabIndex = 32
Top = 195
Width = 800
End
Begin VB.CommandButton Command5
Caption = "下一条"
Height = 450
Left = 1785
TabIndex = 31
Top = 195
Width = 800
End
Begin VB.CommandButton Command6
Caption = "最后一条"
Height = 450
Left = 2625
TabIndex = 30
Top = 195
Width = 885
End
End
Begin MSAdodcLib.Adodc adodc1
Height = 375
Left = 3045
Top = 5130
Width = 1800
_ExtentX = 3175
_ExtentY = 661
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_zxinfo"
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 Frame1
Caption = "装修信息登记栏"
Height = 3375
Left = 75
TabIndex = 0
Top = 135
Width = 5565
Begin VB.ComboBox Combo1
DataField = "装修队"
DataSource = "Adodc1"
Height = 300
Left = 2820
Style = 2 'Dropdown List
TabIndex = 11
Top = 375
Width = 2445
End
Begin VB.TextBox Text1
DataField = "编号"
DataSource = "adodc1"
Height = 300
Left = 1095
TabIndex = 10
Top = 360
Width = 1140
End
Begin VB.TextBox Text2
DataField = "客户"
DataSource = "Adodc1"
Height = 300
Left = 1080
TabIndex = 9
Top = 795
Width = 1005
End
Begin VB.TextBox Text3
DataField = "申请人"
DataSource = "Adodc1"
Height = 300
Left = 2745
TabIndex = 8
Top = 855
Width = 795
End
Begin VB.TextBox Text4
DataField = "预算"
DataSource = "Adodc1"
Height = 300
Left = 1050
TabIndex = 7
Top = 1215
Width = 1425
End
Begin VB.TextBox Text5
DataField = "装修管理费"
DataSource = "Adodc1"
Height = 300
Left = 3705
TabIndex = 6
Top = 1215
Width = 1575
End
Begin VB.TextBox Text6
Height = 300
Left = 1080
TabIndex = 5
Top = 1605
Width = 1410
End
Begin VB.TextBox Text7
DataField = "装修押金"
DataSource = "Adodc1"
Height = 300
Left = 3705
TabIndex = 4
Top = 1650
Width = 1590
End
Begin VB.TextBox Text8
DataField = "验收"
DataSource = "Adodc1"
Height = 300
Left = 4200
TabIndex = 3
Top = 870
Width = 1065
End
Begin VB.TextBox Text9
DataField = "经办人"
DataSource = "Adodc1"
Height = 300
Left = 3705
TabIndex = 2
Top = 2010
Width = 1620
End
Begin VB.TextBox Text10
DataField = "装修内容"
DataSource = "Adodc1"
Height = 360
Left = 1125
TabIndex = 1
Top = 2790
Width = 4185
End
Begin MSComCtl2.DTPicker DTPicker3
DataField = "完工日期"
DataSource = "Adodc1"
Height = 300
Left = 1080
TabIndex = 12
Top = 2010
Width = 1410
_ExtentX = 2487
_ExtentY = 529
_Version = 393216
Format = 94830593
CurrentDate = 38198
End
Begin MSComCtl2.DTPicker DTPicker2
DataField = "退押金时间"
DataSource = "Adodc1"
Height = 300
Left = 3735
TabIndex = 13
Top = 2400
Width = 1590
_ExtentX = 2805
_ExtentY = 529
_Version = 393216
Format = 94830593
CurrentDate = 38198
End
Begin MSComCtl2.DTPicker DTPicker1
Height = 300
Left = 1080
TabIndex = 14
Top = 2415
Width = 1395
_ExtentX = 2461
_ExtentY = 529
_Version = 393216
Format = 94830593
CurrentDate = 38198
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "编 号:"
Height = 180
Left = 165
TabIndex = 28
Top = 420
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "客 户:"
Height = 180
Left = 165
TabIndex = 27
Top = 825
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "预 算:"
Height = 180
Left = 180
TabIndex = 26
Top = 1245
Width = 900
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "罚 金:"
Height = 180
Left = 165
TabIndex = 25
Top = 1650
Width = 900
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "验 收:"
Height = 180
Left = 3615
TabIndex = 24
Top = 915
Width = 720
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "申请日期:"
DataField = "申请日期"
DataSource = "Adodc1"
Height = 180
Left = 180
TabIndex = 23
Top = 2460
Width = 900
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "装修内容:"
Height = 180
Left = 165
TabIndex = 22
Top = 2895
Width = 900
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "装修队:"
Height = 180
Left = 2265
TabIndex = 21
Top = 420
Width = 720
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "申请人:"
Height = 180
Left = 2160
TabIndex = 20
Top = 885
Width = 720
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "装修押金:"
Height = 180
Left = 2580
TabIndex = 19
Top = 1695
Width = 900
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "经办人:"
Height = 180
Left = 2580
TabIndex = 18
Top = 2100
Width = 720
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "装修管理费:"
Height = 180
Left = 2550
TabIndex = 17
Top = 1275
Width = 1080
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "退押金日期:"
Height = 180
Left = 2520
TabIndex = 16
Top = 2475
Width = 1080
End
Begin VB.Label Label14
AutoSize = -1 'True
Caption = "完工日期:"
Height = 180
Left = 180
TabIndex = 15
Top = 2085
Width = 900
End
End
End
Attribute VB_Name = "Frm_zxinfomd"
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()
Unload Me
frm_zxinfo.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 + -