📄 bingzhi.frm
字号:
VERSION 5.00
Begin VB.Form bingzhi
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "齐英天肛肠医院综合信息管理系统"
ClientHeight = 7065
ClientLeft = 45
ClientTop = 375
ClientWidth = 9975
Icon = "bingzhi.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7065
ScaleWidth = 9975
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command1
Caption = "打印"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 8880
TabIndex = 11
Top = 120
Width = 855
End
Begin VB.Label v_zhiliao
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 720
Left = 1560
TabIndex = 13
Top = 6240
Width = 8265
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "治 疗:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 12
Top = 6240
Width = 1080
End
Begin VB.Label v_xianbs
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1440
Left = 1560
TabIndex = 10
Top = 2520
Width = 8160
WordWrap = -1 'True
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "现病史:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 9
Top = 2520
Width = 960
End
Begin VB.Label v_jiancha
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 720
Left = 1560
TabIndex = 8
Top = 4680
Width = 8265
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "初 诊:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 7
Top = 5760
Width = 960
End
Begin VB.Label v_zhenduan
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 720
Left = 1560
TabIndex = 6
Top = 5760
Width = 8265
End
Begin VB.Label v_jws
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1080
Left = 1560
TabIndex = 5
Top = 3960
Width = 8280
End
Begin VB.Label v_zhushu
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 720
Left = 1560
TabIndex = 4
Top = 1920
Width = 8280
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "既往史:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 3
Top = 3960
Width = 960
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "检 查:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 2
Top = 4680
Width = 960
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "主 诉:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 1
Top = 1920
Width = 960
End
Begin VB.Label shijian
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "时间"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 0
Top = 1320
Width = 480
End
End
Attribute VB_Name = "bingzhi"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Command1.Visible = False
Me.PrintForm
Unload Me
End Sub
Private Sub Form_Load()
shijian.Caption = Now
v_car = jiancha.t_car
Dim sql1 As String
sql1 = "select * from 检查结果 where 卡号='" & Trim(v_car) & "' order by -id"
Dim rs1 As New ADODB.Recordset
rs1.Open sql1, db
If Not rs1.EOF Then
v_zhushu.Caption = Trim(rs1("主诉"))
v_xianbs.Caption = Trim(rs1("现病史"))
v_jws.Caption = Trim(rs1("既往史"))
v_jiancha.Caption = Trim(rs1("检查结果"))
v_zhenduan.Caption = Trim(rs1("诊断"))
v_zhiliao.Caption = Trim(rs1("治疗手段"))
End If
Set rs1 = Nothing
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -