📄 frmstuscore.frm
字号:
VERSION 5.00
Begin VB.Form frmStuScore
BorderStyle = 3 'Fixed Dialog
Caption = "药品价格管理"
ClientHeight = 5685
ClientLeft = 45
ClientTop = 330
ClientWidth = 7635
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5685
ScaleWidth = 7635
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text1
DataField = "药品货位码"
DataSource = "Data1"
Height = 615
Left = 2040
TabIndex = 10
Top = 1440
Width = 3735
End
Begin VB.Data Data1
Caption = "上一条 下一条"
Connect = "Access"
DatabaseName = "C:\Documents and Settings\Sicent\桌面\医院药品进销存系统\药品价格管理.MDB"
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 1200
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = "药品价格表"
Top = 4320
Width = 4335
End
Begin VB.CommandButton cmdExit
Caption = "退出"
Height = 735
Left = 6240
Picture = "frmStuScore.frx":0000
Style = 1 'Graphical
TabIndex = 9
Top = 2760
Width = 855
End
Begin VB.CommandButton cmdEdit
Caption = "更新"
Height = 735
Left = 6240
Picture = "frmStuScore.frx":0532
Style = 1 'Graphical
TabIndex = 8
Top = 2040
Width = 855
End
Begin VB.CommandButton cmdDel
Caption = "删除"
Height = 735
Left = 6240
Picture = "frmStuScore.frx":06A4
Style = 1 'Graphical
TabIndex = 7
Top = 1320
Width = 855
End
Begin VB.CommandButton cmdAdd
Caption = "填加"
Height = 735
Left = 6240
Picture = "frmStuScore.frx":079E
Style = 1 'Graphical
TabIndex = 6
Top = 600
Width = 855
End
Begin VB.TextBox txtStuScore
DataField = "药品价格"
DataSource = "Data1"
Height = 615
Left = 2040
TabIndex = 5
Top = 3360
Width = 3735
End
Begin VB.TextBox txtCourID
DataField = "药品初始价格"
DataSource = "Data1"
Height = 615
Left = 2040
TabIndex = 4
Top = 2400
Width = 3735
End
Begin VB.TextBox txtStuID
DataField = "药品名称"
DataSource = "Data1"
Height = 615
Left = 2040
TabIndex = 3
Top = 480
Width = 3735
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "药品货位码"
Height = 180
Left = 840
TabIndex = 11
Top = 1680
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "药品价格"
Height = 180
Left = 840
TabIndex = 2
Top = 3600
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "药品初始价格"
Height = 180
Left = 600
TabIndex = 1
Top = 2640
Width = 1080
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "药品名称"
Height = 180
Left = 960
TabIndex = 0
Top = 720
Width = 720
End
End
Attribute VB_Name = "frmStuScore"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Sub cmdAdd_Click()
Data1.Recordset.AddNew
End Sub
Private Sub cmdDel_Click()
If MsgBox("真的需要删除当前记录?", vbYesNo, "信息提示") = vbYes Then
Data1.Recordset.Delete
Data1.Recordset.MoveNext
If Data1.Recordset.EOF Then
Data1.Recordset.MoveFirst
End If
End If
End Sub
Private Sub cmdEdit_Click()
Data1.UpdateRecord
Data1.Recordset.Bookmark = Data1.Recordset.LastModified
End Sub
Private Sub cmdExit_Click()
Unload Me
End Sub
Private Sub Form_Load()
End Sub
Private Sub txtStuScore_Change()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -