?? 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 + -