?? form4.frm
字號:
VERSION 5.00
Begin VB.Form Form4
Caption = "Form4"
ClientHeight = 8070
ClientLeft = 60
ClientTop = 465
ClientWidth = 7650
LinkTopic = "Form4"
ScaleHeight = 8070
ScaleWidth = 7650
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text1
DataField = "姓名"
DataSource = "Data1"
Height = 495
Left = 4200
TabIndex = 10
Top = 1440
Width = 1935
End
Begin VB.TextBox Text2
DataField = "年齡"
DataSource = "Data1"
Height = 375
Left = 3600
TabIndex = 9
Top = 2880
Width = 1815
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access 2000;"
DatabaseName = "main.mdb"
DefaultCursorType= 0 '缺省游標
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 3120
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "表1"
Top = 5880
Width = 2415
End
Begin VB.CommandButton Command1
Caption = "查找"
Height = 375
Left = 3840
TabIndex = 8
Top = 6480
Width = 975
End
Begin VB.CommandButton Command2
Caption = "增加記錄"
Height = 495
Left = 2400
TabIndex = 7
Top = 6360
Width = 1095
End
Begin VB.CommandButton Command3
Caption = "刪除記錄"
Height = 495
Left = 5160
TabIndex = 6
Top = 6360
Width = 1215
End
Begin VB.CommandButton Command4
Caption = "更新"
Height = 495
Left = 3840
TabIndex = 5
Top = 7200
Width = 975
End
Begin VB.TextBox Text3
DataField = "聯(lián)系電話"
DataSource = "Data1"
Height = 375
Left = 3600
TabIndex = 4
Top = 2280
Width = 1815
End
Begin VB.PictureBox Toolbar1
BackColor = &H00C0E0FF&
Height = 405
Left = 0
ScaleHeight = 345
ScaleWidth = 8535
TabIndex = 3
Top = 0
Width = 8595
End
Begin VB.TextBox Text4
DataField = "家庭住址"
DataSource = "Data1"
Height = 375
Left = 3600
TabIndex = 2
Top = 3480
Width = 1815
End
Begin VB.TextBox Text5
DataField = "關系類別"
DataSource = "Data1"
Height = 495
Left = 3600
TabIndex = 1
Top = 4080
Width = 1815
End
Begin VB.TextBox Text6
Height = 375
Left = 3600
TabIndex = 0
Top = 4800
Width = 1815
End
Begin VB.Label Label1
Caption = "姓名:"
Height = 375
Left = 3360
TabIndex = 18
Top = 1560
Width = 495
End
Begin VB.Label Label2
Caption = "年齡:"
Height = 375
Left = 1440
TabIndex = 17
Top = 2880
Width = 495
End
Begin VB.Label Label4
BackColor = &H00C0E0FF&
Caption = "個人通訊簿 "
BeginProperty Font
Name = "隸書"
Size = 24
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 3240
TabIndex = 16
Top = 480
Width = 2415
End
Begin VB.Label Label3
Caption = "聯(lián)系電話:"
Height = 495
Left = 1440
TabIndex = 15
Top = 2280
Width = 855
End
Begin VB.Label Label5
Caption = "家庭住址:"
Height = 495
Left = 1440
TabIndex = 14
Top = 3600
Width = 855
End
Begin VB.Label Label6
Caption = "關系:"
Height = 495
Left = 1440
TabIndex = 13
Top = 4200
Width = 495
End
Begin VB.Image Image2
Height = 3210
Left = 2640
Picture = "Form4.frx":0000
Top = 2160
Width = 3810
End
Begin VB.Label Label7
Caption = "性別:"
Height = 375
Left = 1440
TabIndex = 12
Top = 4800
Width = 615
End
Begin VB.Label Label8
BackColor = &H00C0E0FF&
Height = 8055
Left = 0
TabIndex = 11
Top = 0
Width = 735
End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form5.Show 1
Data1.Recordset.FindFirst ifco
End Sub
Private Sub Command2_Click()
Data1.Recordset.AddNew
End Sub
Private Sub Command3_Click()
Data1.Recordset.Delete
Data1.Recordset.MoveNext
End Sub
Private Sub Command4_Click()
Data1.UpdateRecord
End Sub
Private Sub Picture1_Click()
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -