📄 frmputin.frm
字号:
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.1#0"; "COMCTL32.OCX"
Begin VB.Form FrmPutIn
BorderStyle = 1 'Fixed Single
ClientHeight = 3045
ClientLeft = 2385
ClientTop = 1605
ClientWidth = 4680
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 3045
ScaleWidth = 4680
Begin ComctlLib.Toolbar Tbar1
Align = 2 'Align Bottom
Height = 855
Left = 0
TabIndex = 5
Top = 2190
Width = 4680
_ExtentX = 8255
_ExtentY = 1508
ButtonWidth = 1032
ButtonHeight = 1349
Appearance = 1
ImageList = "ImageList1"
_Version = 327680
BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7}
NumButtons = 8
BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "向前"
Key = "font"
Object.Tag = ""
ImageIndex = 1
EndProperty
BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "向后"
Key = "back"
Object.Tag = ""
ImageIndex = 2
EndProperty
BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "第一"
Key = "home"
Object.Tag = ""
ImageIndex = 3
EndProperty
BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "最后"
Key = "end"
Object.Tag = ""
ImageIndex = 4
EndProperty
BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "添加"
Key = "add"
Object.Tag = ""
ImageIndex = 5
EndProperty
BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "删除"
Key = "del"
Object.Tag = ""
ImageIndex = 6
EndProperty
BeginProperty Button7 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "速查"
Key = "query"
Object.Tag = ""
ImageIndex = 7
EndProperty
BeginProperty Button8 {0713F354-850A-101B-AFC0-4210102A8DA7}
Caption = "退出"
Key = "exit"
Object.Tag = ""
ImageIndex = 8
EndProperty
EndProperty
MouseIcon = "FrmPutIn.frx":0000
End
Begin VB.PictureBox Pic1
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 1455
Left = 3240
Picture = "FrmPutIn.frx":001C
ScaleHeight = 1425
ScaleWidth = 1305
TabIndex = 13
Top = 690
Width = 1335
End
Begin VB.TextBox Text1
Height = 375
Left = 3480
TabIndex = 12
Text = " "
Top = 1440
Width = 975
End
Begin VB.TextBox Txtming
Height = 375
Left = 1290
TabIndex = 9
Text = " "
Top = 1260
Width = 1455
End
Begin VB.TextBox Txtke
Enabled = 0 'False
Height = 375
Left = 1200
TabIndex = 6
Top = 120
Width = 2655
End
Begin VB.TextBox Txtfen
Height = 375
Left = 1305
TabIndex = 4
Top = 1770
Width = 1455
End
Begin VB.TextBox Txthao
DataField = " "
Enabled = 0 'False
Height = 375
Left = 1560
TabIndex = 0
Text = " "
Top = 720
Width = 855
End
Begin VB.Label Label7
Caption = "补考成绩:"
Height = 375
Left = 3360
TabIndex = 11
Top = 960
Width = 1455
End
Begin VB.Line Line2
BorderStyle = 6 'Inside Solid
BorderWidth = 2
X1 = 2880
X2 = 2880
Y1 = 720
Y2 = 2400
End
Begin VB.Label Label6
Caption = "旧"
Height = 495
Left = 210
TabIndex = 10
Top = 1320
Visible = 0 'False
Width = 255
End
Begin VB.Label Label5
Caption = "新姓名:"
Height = 375
Left = 240
TabIndex = 8
Top = 1800
Visible = 0 'False
Width = 1215
End
Begin VB.Line Line1
BorderStyle = 6 'Inside Solid
BorderWidth = 2
X1 = 120
X2 = 4500
Y1 = 600
Y2 = 600
End
Begin VB.Label Label4
Caption = "科目:"
Height = 375
Left = 240
TabIndex = 7
Top = 120
Width = 1095
End
Begin ComctlLib.ImageList ImageList1
Left = 4020
Top = 60
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 327680
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 8
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":69FE
Key = "font"
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":6D18
Key = "back"
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":7032
Key = "home"
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":734C
Key = "end"
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":7666
Key = "add"
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":7980
Key = "del"
EndProperty
BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":7A92
Key = "query"
EndProperty
BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "FrmPutIn.frx":810C
Key = "exit"
EndProperty
EndProperty
End
Begin VB.Label Label3
Caption = "成绩:"
Height = 495
Left = 330
TabIndex = 3
Top = 1830
Visible = 0 'False
Width = 975
End
Begin VB.Label Label2
Caption = "学号:"
Height = 375
Left = 240
TabIndex = 2
Top = 720
Width = 975
End
Begin VB.Label Label1
Caption = "姓名:"
Height = 375
Left = 450
TabIndex = 1
Top = 1320
Width = 855
End
End
Attribute VB_Name = "FrmPutIn"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim add As Variant
Dim fenrecord As Recordset
Private Sub Form_Load()
On Error GoTo ao
Dim place As Integer
FrmPutIn.Left = kaishifrm.Width + 40
FrmPutIn.Top = frmTblStruct.Height + 20
Txtke.Text = frmTblStruct.txtfieldName.Text
If Txtke.Text = "姓名" Then
Label5.Visible = True
Label3.Visible = False
Txtming.Enabled = False
'Lbl8.Visible = False
'Fme1.Visible = False
'xishu1txt.Visible = False
Else
Label5.Visible = False
Label3.Visible = True
Txtming.Enabled = True
'Lbl8.Visible = True
' Fme1.Visible = True
'xishu1txt.Visible = True
End If
Set fenrecord = scoretab.OpenRecordset(dbOpenDynaset)
' If fenrecord.RecordCount = 0 Then
fenrecord.MoveLast
fenrecord.MoveFirst
'////////????????????///////////???????????
'If worktype = 4 Then '添加了新课程
'fenrecord.MoveFirst
'fenrecord.Edit
'fenrecord.Fields(Txtke.Text).Value = xishuS '??????
'fenrecord.Update
'End If
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -