⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yprkfrm.frm

📁 医院管理系统已经在运行中
💻 FRM
📖 第 1 页 / 共 3 页
字号:
               Top             =   240
               Width           =   1300
            End
         End
         Begin VB.Frame Frame4 
            Height          =   5295
            Left            =   120
            TabIndex        =   5
            Top             =   240
            Width           =   3015
            Begin VB.ListBox List1 
               Height          =   2040
               Left            =   960
               Sorted          =   -1  'True
               TabIndex        =   38
               Top             =   1800
               Width           =   1935
            End
            Begin VB.TextBox Text10 
               Height          =   300
               Left            =   960
               Locked          =   -1  'True
               TabIndex        =   37
               Text            =   "Text10"
               Top             =   240
               Width           =   1935
            End
            Begin VB.TextBox Text9 
               Height          =   300
               IMEMode         =   1  'ON
               Left            =   960
               TabIndex        =   35
               Text            =   "Text9"
               Top             =   4800
               Width           =   1935
            End
            Begin VB.TextBox Text8 
               BackColor       =   &H00E0E0E0&
               ForeColor       =   &H00000080&
               Height          =   300
               Left            =   960
               Locked          =   -1  'True
               TabIndex        =   33
               Text            =   "Text8"
               Top             =   4380
               Width           =   1935
            End
            Begin VB.TextBox Text7 
               Height          =   300
               IMEMode         =   2  'OFF
               Left            =   960
               TabIndex        =   32
               Text            =   "Text7"
               Top             =   3966
               Width           =   1935
            End
            Begin VB.TextBox Text6 
               Height          =   300
               IMEMode         =   2  'OFF
               Left            =   960
               TabIndex        =   31
               Text            =   "Text6"
               Top             =   3552
               Width           =   1935
            End
            Begin VB.TextBox Text5 
               Height          =   300
               IMEMode         =   2  'OFF
               Left            =   960
               TabIndex        =   30
               Text            =   "Text5"
               Top             =   3138
               Width           =   1935
            End
            Begin VB.TextBox Text4 
               Height          =   300
               IMEMode         =   2  'OFF
               Left            =   960
               TabIndex        =   29
               Text            =   "Text4"
               Top             =   2724
               Width           =   1935
            End
            Begin VB.TextBox Text3 
               Height          =   300
               IMEMode         =   2  'OFF
               Left            =   960
               TabIndex        =   28
               Text            =   "Text3"
               Top             =   1896
               Width           =   1935
            End
            Begin VB.ComboBox Combo3 
               Height          =   300
               ItemData        =   "yprkfrm.frx":0015
               Left            =   960
               List            =   "yprkfrm.frx":003D
               TabIndex        =   27
               Text            =   "Combo3"
               Top             =   2310
               Width           =   1935
            End
            Begin VB.ComboBox Combo2 
               Height          =   300
               Left            =   960
               TabIndex        =   26
               Text            =   "Combo2"
               Top             =   654
               Width           =   1935
            End
            Begin VB.TextBox Text2 
               Height          =   300
               IMEMode         =   2  'OFF
               Left            =   960
               TabIndex        =   25
               Top             =   1482
               Width           =   1935
            End
            Begin VB.TextBox Text1 
               Height          =   300
               Left            =   960
               Locked          =   -1  'True
               TabIndex        =   24
               Text            =   "Text1"
               Top             =   1068
               Width           =   1935
            End
            Begin VB.Label Label13 
               AutoSize        =   -1  'True
               Caption         =   "类    别:"
               Height          =   180
               Left            =   120
               TabIndex        =   34
               Top             =   360
               Width           =   900
            End
            Begin VB.Label Label12 
               AutoSize        =   -1  'True
               Caption         =   "备    注:"
               Height          =   180
               Left            =   120
               TabIndex        =   17
               Top             =   4800
               Width           =   900
            End
            Begin VB.Label Label11 
               AutoSize        =   -1  'True
               Caption         =   "合    计:"
               Height          =   180
               Left            =   120
               TabIndex        =   16
               Top             =   4390
               Width           =   900
            End
            Begin VB.Label Label10 
               AutoSize        =   -1  'True
               Caption         =   "数    量:"
               Height          =   180
               Left            =   120
               TabIndex        =   15
               Top             =   3987
               Width           =   900
            End
            Begin VB.Label Label9 
               AutoSize        =   -1  'True
               Caption         =   "零 售 价:"
               Height          =   180
               Left            =   120
               TabIndex        =   14
               Top             =   3584
               Width           =   900
            End
            Begin VB.Label Label8 
               AutoSize        =   -1  'True
               Caption         =   "批 发 价:"
               Height          =   180
               Left            =   120
               TabIndex        =   13
               Top             =   3181
               Width           =   900
            End
            Begin VB.Label Label7 
               AutoSize        =   -1  'True
               Caption         =   "进    价:"
               Height          =   180
               Left            =   120
               TabIndex        =   12
               Top             =   2778
               Width           =   900
            End
            Begin VB.Label Label6 
               AutoSize        =   -1  'True
               Caption         =   "单    位:"
               Height          =   180
               Left            =   120
               TabIndex        =   11
               Top             =   2375
               Width           =   900
            End
            Begin VB.Label Label5 
               AutoSize        =   -1  'True
               Caption         =   "规    格:"
               Height          =   180
               Left            =   120
               TabIndex        =   10
               Top             =   1972
               Width           =   900
            End
            Begin VB.Label Label4 
               AutoSize        =   -1  'True
               Caption         =   "生产厂家:"
               Height          =   180
               Left            =   120
               TabIndex        =   9
               Top             =   763
               Width           =   900
            End
            Begin VB.Label Label3 
               AutoSize        =   -1  'True
               Caption         =   "药品名称:"
               Height          =   180
               Left            =   120
               TabIndex        =   8
               Top             =   1569
               Width           =   900
            End
            Begin VB.Label Label2 
               AutoSize        =   -1  'True
               Caption         =   "药品代码:"
               Height          =   180
               Left            =   120
               TabIndex        =   7
               Top             =   1166
               Width           =   900
            End
         End
      End
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "药品入库及药品现有库存情况"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFF00&
      Height          =   435
      Index           =   1
      Left            =   2580
      TabIndex        =   1
      Top             =   50
      Width           =   6045
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "药品入库及药品现有库存情况"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   435
      Index           =   0
      Left            =   2640
      TabIndex        =   0
      Top             =   80
      Width           =   6045
   End
End
Attribute VB_Name = "yprkfrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim moues As Integer
Dim qq As Integer
Dim mdbstr As String
Dim rc As Long
Dim yp() As String

Private Sub Combo2_Click()
   Text2.SetFocus
End Sub

Private Sub Combo2_KeyPress(KeyAscii As Integer)
   If KeyAscii = 13 Then Text2.SetFocus
End Sub

Private Sub Combo3_Click()
  Text4.SetFocus
End Sub

Private Sub Combo3_KeyPress(KeyAscii As Integer)
   If KeyAscii = 13 Then Text4.SetFocus
End Sub

Private Sub Command1_Click()
   Frame4.Enabled = True
   Combo2.SetFocus
   Command1.Enabled = False
   Command2.Enabled = False
   Command3.Enabled = False
   Command4.Enabled = True
   Command5.Enabled = False
   qq = 111
   Adodc4.Refresh
   If Adodc4.Recordset.EOF = False Then
      Adodc4.Recordset.MoveLast
      bht = Mid(Adodc4.Recordset.Fields(2), 1, 4) & Trim(Str(Val(Mid(Adodc4.Recordset.Fields(2), 5)) + 1))
      Text1.Text = bht
   Else
      Text1.Text = "ypdm1"
   End If
   Text2.Text = ""
   Text3.Text = ""
   Text4.Text = ""
   Text5.Text = ""
   Text6.Text = ""
   Text7.Text = ""
   Text8.Text = ""
   Text9.Text = ""
   Text10.Text = ""
   List1.Visible = False
   If Combo2.Text = "" Then
      Combo2.SetFocus
   Else
      Text2.SetFocus
   End If
   Call grd
End Sub

Private Sub Command2_Click()
   If Adodc4.Recordset.EOF = False Then
      k = MsgBox("确认要删除吗?", vbYesNo)
     If k = 6 Then
        Adodc4.Recordset.Delete
        MsgBox "删除操作成功"
        If Adodc4.Recordset.EOF = False Then
           Call grd
           Call disp7
        End If
     End If
   End If
End Sub

Private Sub Command3_Click()
   Frame4.Enabled = True
   qq = 222
   Text2.SetFocus
   Call disp7

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -