📄 frmlistperson.frm
字号:
VERSION 5.00
Begin VB.Form FrmListPerson
BorderStyle = 3 'Fixed Dialog
Caption = "上机人员详细信息"
ClientHeight = 6090
ClientLeft = 45
ClientTop = 330
ClientWidth = 5070
Icon = "FrmListPerson.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6090
ScaleWidth = 5070
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Caption = "上机人员详细信息"
Height = 5655
Left = 240
TabIndex = 0
Top = 240
Width = 4575
Begin VB.TextBox txtCH_Memo
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 360
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
Top = 3960
Width = 3855
End
Begin VB.Label lblCH_IDList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 1320
TabIndex = 24
Top = 600
Width = 180
End
Begin VB.Label lblCH_ID
AutoSize = -1 'True
Caption = "卡号:"
Height = 180
Left = 360
TabIndex = 23
Top = 600
Width = 540
End
Begin VB.Label lblCH_Name
AutoSize = -1 'True
Caption = "姓名:"
Height = 180
Left = 2400
TabIndex = 22
Top = 600
Width = 540
End
Begin VB.Label lblCH_NameList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 3270
TabIndex = 21
Top = 600
Width = 180
End
Begin VB.Label lblNo
AutoSize = -1 'True
Caption = "学号:"
Height = 180
Left = 360
TabIndex = 20
Top = 1080
Width = 540
End
Begin VB.Label lblNoList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 1320
TabIndex = 19
Top = 1080
Width = 180
End
Begin VB.Label lblI_Name
AutoSize = -1 'True
Caption = "院系:"
Height = 180
Left = 2400
TabIndex = 18
Top = 1080
Width = 540
End
Begin VB.Label lblI_NameList
AutoSize = -1 'True
Caption = "10"
Height = 180
Left = 3270
TabIndex = 17
Top = 1080
Width = 180
End
Begin VB.Label lblS_Name
AutoSize = -1 'True
Caption = "专业:"
Height = 180
Left = 360
TabIndex = 16
Top = 2040
Width = 540
End
Begin VB.Label lblS_NameList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 1320
TabIndex = 15
Top = 2040
Width = 180
End
Begin VB.Label lblC_ID
AutoSize = -1 'True
Caption = "班级:"
Height = 180
Left = 2400
TabIndex = 14
Top = 1560
Width = 540
End
Begin VB.Label lblC_IDList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 3270
TabIndex = 13
Top = 1560
Width = 180
End
Begin VB.Label lblST_Name
AutoSize = -1 'True
Caption = "类别:"
Height = 180
Left = 360
TabIndex = 12
Top = 1560
Width = 540
End
Begin VB.Label lblST_NameList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 1320
TabIndex = 11
Top = 1560
Width = 180
End
Begin VB.Label lblShjiType
AutoSize = -1 'True
Caption = "上机方式:"
Height = 180
Left = 2400
TabIndex = 10
Top = 2520
Width = 900
End
Begin VB.Label lblShjiTypeList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 3390
TabIndex = 9
Top = 2520
Width = 180
End
Begin VB.Label lblMoney
AutoSize = -1 'True
Caption = "金额:"
Height = 180
Left = 360
TabIndex = 8
Top = 2520
Width = 540
End
Begin VB.Label lblMoneyList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 1320
TabIndex = 7
Top = 2520
Width = 180
End
Begin VB.Label lblStart_Time
AutoSize = -1 'True
Caption = "上机时间:"
Height = 180
Left = 360
TabIndex = 6
Top = 3000
Width = 900
End
Begin VB.Label lblStart_TimeList
AutoSize = -1 'True
Caption = "11"
Height = 180
Left = 1320
TabIndex = 5
Top = 3000
Width = 180
End
Begin VB.Label lblCPT_ID
AutoSize = -1 'True
Caption = "计算机ID:"
Height = 180
Left = 2400
TabIndex = 4
Top = 2040
Width = 900
End
Begin VB.Label lblCPT_IDList
AutoSize = -1 'True
Height = 180
Left = 3360
TabIndex = 3
Top = 2040
Width = 90
End
Begin VB.Label lblCH_Memo
AutoSize = -1 'True
Caption = "持卡人描述:"
Height = 180
Left = 360
TabIndex = 2
Top = 3480
Width = 1080
End
End
End
Attribute VB_Name = "FrmListPerson"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rsCardholderTemp As Recordset
Private Sub Form_Load()
Set rsCardholderTemp = New Recordset
rsCardholderTemp.Open "select * from TbCardholderTemp where CH_ID ='" & frmmain.StrItem & " '", Modmain.conn, 3, 2
With rsCardholderTemp
lblCH_IDList.Caption = .Fields!ch_id '给卡号赋值
lblNoList.Caption = .Fields!CH_No '给学号赋值
lblST_NameList.Caption = .Fields!ST_Name '给类别赋值
lblCH_NameList.Caption = .Fields!CH_Name '给姓名赋值
lblI_NameList.Caption = .Fields!I_Name '给院系赋值
lblS_NameList.Caption = .Fields!S_Name '给专业赋值
lblC_IDList.Caption = .Fields!C_ID '给班级赋值
lblShjiTypeList.Caption = .Fields!Fashion '给上机方式赋值
lblCPT_IDList.Caption = .Fields!CPT_ID '给计算机ID赋值
lblMoneyList.Caption = .Fields!Money '给金额赋值
lblStart_TimeList.Caption = .Fields!Start_Time '给上机时间赋值
txtCH_Memo.Text = .Fields!CH_Memo '给持卡人描述赋值
End With
txtCH_Memo.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -