📄 frm_zhsqinfo.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Frm_zhsqinfo
Caption = "装修登记"
ClientHeight = 4515
ClientLeft = 60
ClientTop = 450
ClientWidth = 7860
Icon = "Frm_zhsqinfo.frx":0000
LinkTopic = "Form1"
ScaleHeight = 4515
ScaleWidth = 7860
StartUpPosition = 2 '屏幕中心
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 1800
Top = 4920
Width = 3465
_ExtentX = 6112
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 1
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=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\毕业设计\TIZIANO.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from tab_房屋装修"
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 = 3825
Left = 210
TabIndex = 3
Top = 120
Width = 7470
Begin VB.TextBox Text10
DataField = "传真"
DataSource = "Adodc1"
Height = 300
Left = 3180
TabIndex = 28
Top = 2505
Width = 1500
End
Begin VB.TextBox Text11
DataField = "负责人电话"
DataSource = "Adodc1"
Height = 300
Left = 5805
TabIndex = 26
Top = 2505
Width = 1500
End
Begin VB.TextBox Text9
DataField = "公司电话"
DataSource = "Adodc1"
Height = 300
Left = 1155
TabIndex = 24
Top = 2525
Width = 1500
End
Begin VB.TextBox Text7
DataField = "营业执照"
DataSource = "Adodc1"
Height = 300
Left = 1155
TabIndex = 22
Top = 2080
Width = 6210
End
Begin VB.TextBox Text8
DataField = "负责人"
DataSource = "Adodc1"
Height = 300
Left = 4665
TabIndex = 20
Top = 1190
Width = 2670
End
Begin VB.TextBox Text6
DataField = "施工单位"
DataSource = "Adodc1"
Height = 300
Left = 1155
TabIndex = 18
Top = 1635
Width = 6210
End
Begin VB.TextBox Text5
DataField = "联系电话"
DataSource = "Adodc1"
Height = 300
Left = 1155
TabIndex = 16
Top = 1190
Width = 2595
End
Begin VB.TextBox Text1
DataField = "装修单编号"
DataSource = "Adodc1"
Height = 300
Left = 1155
TabIndex = 8
Top = 300
Width = 2565
End
Begin VB.TextBox Text2
DataField = "项目"
DataSource = "Adodc1"
Height = 300
Left = 4710
TabIndex = 7
Top = 300
Width = 2565
End
Begin VB.TextBox Text3
DataField = "别墅编号"
DataSource = "Adodc1"
Height = 300
Left = 1155
TabIndex = 5
Top = 745
Width = 2580
End
Begin VB.TextBox Text4
DataField = "业主姓名"
DataSource = "Adodc1"
Height = 300
Left = 4680
TabIndex = 4
Top = 745
Width = 2625
End
Begin MSComCtl2.DTPicker DTPicker1
Height = 300
Left = 1155
TabIndex = 6
Top = 2970
Width = 1515
_ExtentX = 2672
_ExtentY = 529
_Version = 393216
Format = 76283905
CurrentDate = 38856
End
Begin MSComCtl2.DTPicker DTPicker2
Height = 300
Left = 3180
TabIndex = 9
Top = 3000
Width = 1545
_ExtentX = 2725
_ExtentY = 529
_Version = 393216
Format = 76283905
CurrentDate = 38856
End
Begin VB.Label Label11
AutoSize = -1 'True
Caption = "传真:"
Height = 180
Left = 2700
TabIndex = 29
Top = 2565
Width = 540
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "负责人电话:"
Height = 180
Left = 4710
TabIndex = 27
Top = 2595
Width = 1080
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "公司电话:"
Height = 180
Left = 120
TabIndex = 25
Top = 2585
Width = 900
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "许可证编号:"
Height = 180
Left = 120
TabIndex = 23
Top = 2140
Width = 1080
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "负责人:"
Height = 180
Left = 3870
TabIndex = 21
Top = 1260
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "装修公司:"
Height = 180
Left = 120
TabIndex = 19
Top = 1695
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "业主电话:"
Height = 180
Left = 120
TabIndex = 17
Top = 1250
Width = 900
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "装修时间从:"
Height = 180
Left = 120
TabIndex = 15
Top = 3030
Width = 1200
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "装修单编号:"
Height = 180
Left = 120
TabIndex = 14
Top = 360
Width = 1080
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "装修项目:"
Height = 180
Left = 3840
TabIndex = 13
Top = 360
Width = 900
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "至"
Height = 180
Left = 2790
TabIndex = 12
Top = 3060
Width = 180
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "别墅 编号:"
Height = 180
Left = 120
TabIndex = 11
Top = 810
Width = 990
End
Begin VB.Label Label15
AutoSize = -1 'True
Caption = "业主姓名:"
Height = 180
Left = 3810
TabIndex = 10
Top = 795
Width = 825
End
End
Begin VB.CommandButton Command1
Caption = "取 消"
Height = 375
Left = 720
TabIndex = 2
Top = 4110
Width = 1665
End
Begin VB.CommandButton Command2
Caption = "保 存"
Height = 375
Left = 3210
TabIndex = 1
Top = 4110
Width = 1665
End
Begin VB.CommandButton Command4
Caption = "返 回"
Height = 375
Left = 5520
TabIndex = 0
Top = 4110
Width = 1665
End
End
Attribute VB_Name = "Frm_zhsqinfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
End Sub
Private Sub Command2_Click()
If Text1 = "" Or Text2 = "" Or Text3 = "" Then
MsgBox "各项基本信息不能为空"
Text1.SetFocus
Else
Adodc1.Recordset.Fields(11) = DTPicker1.Value
Adodc1.Recordset.Fields(12) = DTPicker2.Value
Adodc1.Recordset.Update
End If
Unload Frm_zhsqinfo
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
Frm_zhsqinfocu.GurhanCoolButton1.SetFocus
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -