📄 duzhe_tousu.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "Msadodc.OCX"
Begin VB.Form duzhe_tousu
BorderStyle = 3 'Fixed Dialog
Caption = "读者投诉"
ClientHeight = 6735
ClientLeft = 45
ClientTop = 330
ClientWidth = 8775
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6735
ScaleWidth = 8775
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text4
Height = 2655
Left = 1440
TabIndex = 9
Top = 2520
Width = 6375
End
Begin MSAdodcLib.Adodc Adodc1
Height = 615
Left = 4320
Top = 5520
Width = 3495
_ExtentX = 6165
_ExtentY = 1085
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 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=图书馆管理系统.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=图书馆管理系统.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "投诉"
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.CommandButton Command2
Caption = "清除"
Height = 615
Left = 2400
TabIndex = 8
Top = 5520
Width = 1575
End
Begin VB.CommandButton Command1
Caption = "提交"
Height = 615
Left = 480
TabIndex = 7
Top = 5520
Width = 1575
End
Begin VB.TextBox Text3
Height = 375
Left = 1440
TabIndex = 6
Top = 1800
Width = 1695
End
Begin VB.TextBox Text2
Height = 375
Left = 1440
TabIndex = 3
Top = 1080
Width = 1335
End
Begin VB.TextBox Text1
Height = 375
Left = 1440
TabIndex = 1
Top = 480
Width = 855
End
Begin VB.Label Label4
Caption = "具体事项"
Height = 375
Left = 480
TabIndex = 5
Top = 2520
Width = 975
End
Begin VB.Label Label3
Caption = "投诉事件"
Height = 375
Left = 480
TabIndex = 4
Top = 1920
Width = 855
End
Begin VB.Label Label2
Caption = "投诉人员"
Height = 375
Left = 480
TabIndex = 2
Top = 1200
Width = 855
End
Begin VB.Label Label1
Caption = "投诉编号"
Height = 375
Left = 480
TabIndex = 0
Top = 480
Width = 1095
End
End
Attribute VB_Name = "duzhe_tousu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.AddNew
Adodc1.Recordset.Fields(2) = Text2.Text
Adodc1.Recordset.Fields(3) = Text3.Text
Adodc1.Recordset.Fields(4) = Date
Adodc1.Recordset.Update
MsgBox "投诉成功,请等待工作人员审核"
Unload Me
End Sub
Private Sub Command2_Click()
Adodc1.Refresh
Text1.Text = Adodc1.Recordset.RecordCount + 1
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
End Sub
Private Sub Form_Load()
Adodc1.Refresh
Text1.Text = Adodc1.Recordset.RecordCount + 1
Text1.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -