📄 form6.frm
字号:
VERSION 5.00
Begin VB.Form Form6
Caption = "Form6"
ClientHeight = 5115
ClientLeft = 60
ClientTop = 345
ClientWidth = 5955
LinkTopic = "Form2"
ScaleHeight = 5115
ScaleWidth = 5955
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "添加"
Height = 495
Left = 1560
TabIndex = 16
Top = 4440
Width = 1335
End
Begin VB.CommandButton Command2
Caption = "退出"
Height = 495
Left = 3360
TabIndex = 15
Top = 4440
Width = 1335
End
Begin VB.Frame Frame1
Caption = "顾客信息"
Height = 5055
Left = 0
TabIndex = 0
Top = 0
Width = 5895
Begin VB.TextBox Text7
Height = 615
Left = 3960
TabIndex = 7
Text = "Text7"
Top = 960
Width = 1815
End
Begin VB.TextBox Text6
Height = 615
Left = 1200
TabIndex = 6
Text = "Text6"
Top = 2640
Width = 4575
End
Begin VB.TextBox Text5
Height = 615
Left = 1200
TabIndex = 5
Text = "Text5"
Top = 3600
Width = 4575
End
Begin VB.TextBox Text4
Height = 615
Left = 1200
TabIndex = 4
Text = "Text4"
Top = 960
Width = 1455
End
Begin VB.TextBox Text3
Height = 495
Left = 3960
TabIndex = 3
Text = "Text3"
Top = 240
Width = 1815
End
Begin VB.TextBox Text2
Height = 615
Left = 1200
TabIndex = 2
Text = "Text2"
Top = 1800
Width = 4575
End
Begin VB.TextBox Text1
Height = 495
Left = 1200
TabIndex = 1
Text = "Text1"
Top = 240
Width = 1455
End
Begin VB.Label Label7
Caption = "运货时间"
Height = 255
Left = 3000
TabIndex = 14
Top = 1080
Width = 855
End
Begin VB.Label Label6
Caption = "取货地点"
Height = 255
Left = 120
TabIndex = 13
Top = 2880
Width = 855
End
Begin VB.Label Label5
Caption = "运货地点"
Height = 255
Left = 120
TabIndex = 12
Top = 3840
Width = 735
End
Begin VB.Label Label4
Caption = "联系电话"
Height = 255
Left = 120
TabIndex = 11
Top = 1080
Width = 855
End
Begin VB.Label Label3
Caption = "联系人"
Height = 255
Left = 3240
TabIndex = 10
Top = 360
Width = 615
End
Begin VB.Label Label2
Caption = "客户地址"
Height = 255
Left = 120
TabIndex = 9
Top = 2040
Width = 855
End
Begin VB.Label Label1
Caption = "客户名称"
Height = 255
Left = 120
TabIndex = 8
Top = 360
Width = 855
End
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command2_Click()
Form5.Adodc1.Recordset.Update
Me.Hide
Unload Me
Me.Hide
Form5.Show
'Form1.Adodc1.Recordset.Delete
End Sub
Private Sub Command3_Click()
Form5.Adodc1.Recordset.AddNew
End Sub
Private Sub Form_Load()
Set Text1.DataSource = Form5.Adodc1
Text1.DataField = "名称"
Set Text2.DataSource = Form5.Adodc1
Text2.DataField = "地址"
Set Text3.DataSource = Form5.Adodc1
Text3.DataField = "联系人"
Set Text4.DataSource = Form5.Adodc1
Text4.DataField = "电话"
Set Text5.DataSource = Form5.Adodc1
Text5.DataField = "运货地点"
Set Text6.DataSource = Form5.Adodc1
Text6.DataField = "取货地点"
Set Text7.DataSource = Form5.Adodc1
Text7.DataField = "运货时间"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -