📄 form3.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form Form3
Caption = "Form3"
ClientHeight = 5685
ClientLeft = 60
ClientTop = 450
ClientWidth = 8235
LinkTopic = "Form3"
ScaleHeight = 5685
ScaleWidth = 8235
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command5
Caption = "清空"
Height = 375
Left = 2400
TabIndex = 11
Top = 3720
Width = 615
End
Begin VB.CommandButton Command1
Caption = "修改"
Height = 375
Left = 3600
TabIndex = 10
Top = 3720
Width = 615
End
Begin MSAdodcLib.Adodc Adodc1
Height = 495
Left = 2760
Top = 4440
Width = 2415
_ExtentX = 4260
_ExtentY = 873
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = $"Form3.frx":0000
OLEDBString = $"Form3.frx":0099
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "vip"
Caption = "前后移动记录"
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.CommandButton Command4
Caption = "退出"
Height = 375
Left = 4920
TabIndex = 9
Top = 3720
Width = 615
End
Begin VB.CommandButton Command3
Caption = "删除"
Height = 375
Left = 4200
TabIndex = 8
Top = 3720
Width = 735
End
Begin VB.CommandButton Command2
Caption = "添加"
Height = 375
Left = 3000
TabIndex = 7
Top = 3720
Width = 615
End
Begin VB.TextBox Text3
DataField = "bookID"
DataSource = "Adodc1"
Height = 375
Left = 4080
Locked = -1 'True
TabIndex = 6
Text = "Text3"
Top = 2520
Width = 1575
End
Begin VB.TextBox Text2
DataField = "vipname"
DataSource = "Adodc1"
Height = 375
Left = 4080
TabIndex = 5
Text = "Text2"
Top = 1680
Width = 1575
End
Begin VB.TextBox Text1
DataField = "vipID"
DataSource = "Adodc1"
Height = 375
Left = 4080
TabIndex = 4
Text = "Text1"
Top = 960
Width = 1575
End
Begin VB.Label Label4
Caption = "借阅书籍ID:"
Height = 255
Left = 2040
TabIndex = 3
Top = 2520
Width = 1095
End
Begin VB.Label Label3
Caption = "会员姓名:"
Height = 375
Left = 2280
TabIndex = 2
Top = 1800
Width = 855
End
Begin VB.Label Label2
Caption = "会员ID:"
Height = 255
Left = 2400
TabIndex = 1
Top = 1080
Width = 735
End
Begin VB.Label Label1
Caption = "会员管理"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3120
TabIndex = 0
Top = 360
Width = 1575
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.Update
Adodc1.Recordset.MoveLast
End Sub
Private Sub Command2_Click()
Adodc1.Recordset.Update
Adodc1.Recordset.MoveLast
End Sub
Private Sub Command3_Click()
Dim mag
mag = MsgBox("要删除吗?", vbYesNo, "删除记录")
If mag = vbYes Then
Adodc1.Recordset.Delete
Adodc1.Recordset.MoveLast
End If
End Sub
Private Sub Command4_Click()
End
End Sub
Private Sub Command5_Click()
Adodc1.Recordset.AddNew
End Sub
Private Sub Form_Load()
Adodc1.Recordset.MoveLast
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -