?? hjcxfrm.frm
字號(hào):
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{00028C01-0000-0000-0000-000000000046}#1.0#0"; "DBGRID32.OCX"
Begin VB.Form hjcxfrm
BorderStyle = 3 'Fixed Dialog
Caption = "卓資縣人民醫(yī)院處方劃價(jià)查詢(xún)"
ClientHeight = 8370
ClientLeft = 45
ClientTop = 435
ClientWidth = 13695
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 8370
ScaleWidth = 13695
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.Data Data2
Caption = "Data2"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游標(biāo)
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 5040
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 7920
Visible = 0 'False
Width = 2655
End
Begin VB.CommandButton Command1
Caption = "導(dǎo)出或打印查詢(xún)結(jié)果(&P)"
Height = 375
Left = 120
TabIndex = 17
Top = 7920
Width = 2415
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游標(biāo)
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 7680
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 0
Visible = 0 'False
Width = 2055
End
Begin MSAdodcLib.Adodc Adodc3
Height = 375
Left = 2760
Top = 0
Visible = 0 'False
Width = 2895
_ExtentX = 5106
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc3醫(yī)師"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSAdodcLib.Adodc Adodc2
Height = 375
Left = 0
Top = 0
Visible = 0 'False
Width = 2415
_ExtentX = 4260
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc2科室"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 9960
Top = 0
Visible = 0 'False
Width = 2535
_ExtentX = 4471
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc1門(mén)診處方"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Frame Frame2
Height = 6135
Left = 120
TabIndex = 3
Top = 1680
Width = 13455
Begin MSDBGrid.DBGrid DBGrid1
Bindings = "hjcxfrm.frx":0000
Height = 5775
Left = 120
OleObjectBlob = "hjcxfrm.frx":0014
TabIndex = 21
Top = 240
Width = 13215
End
End
Begin VB.Frame Frame1
Caption = "查詢(xún)選項(xiàng)"
Height = 1095
Left = 120
TabIndex = 2
Top = 480
Width = 13455
Begin VB.TextBox Text2
Height = 270
Left = 12360
MaxLength = 10
TabIndex = 19
ToolTipText = "輸入正確完整的日期后回車(chē)開(kāi)始查詢(xún)"
Top = 720
Width = 1050
End
Begin VB.TextBox Text1
Height = 270
Left = 10965
MaxLength = 10
TabIndex = 18
ToolTipText = "輸入日期格式如2005-1-1,表示2005年01月01日!"
Top = 720
Width = 1050
End
Begin VB.OptionButton Option10
Caption = "病房劃價(jià)日期"
Height = 370
Left = 11900
Style = 1 'Graphical
TabIndex = 16
Top = 240
Width = 1400
End
Begin VB.OptionButton Option9
Caption = "門(mén)診劃價(jià)日期"
Height = 370
Left = 10424
Style = 1 'Graphical
TabIndex = 15
Top = 240
Width = 1400
End
Begin VB.OptionButton Option6
Caption = "病房醫(yī)師劃價(jià)"
Height = 370
Left = 6008
Style = 1 'Graphical
TabIndex = 14
Top = 240
Width = 1400
End
Begin VB.OptionButton Option5
Caption = "病房操作員劃價(jià)"
Height = 370
Left = 3064
Style = 1 'Graphical
TabIndex = 13
Top = 240
Width = 1400
End
Begin VB.OptionButton Option4
Caption = "全部病房劃價(jià)"
Height = 370
Left = 120
Style = 1 'Graphical
TabIndex = 12
Top = 240
Width = 1400
End
Begin VB.OptionButton Option3
Caption = "門(mén)診醫(yī)師劃價(jià)"
Height = 370
Left = 4536
Style = 1 'Graphical
TabIndex = 11
Top = 240
Width = 1400
End
Begin VB.OptionButton Option2
Caption = "門(mén)診操作員劃價(jià)"
Height = 370
Left = 1592
Style = 1 'Graphical
TabIndex = 10
Top = 240
Width = 1400
End
Begin VB.OptionButton Option1
Caption = "全部門(mén)診劃價(jià)"
Height = 370
Left = 120
Style = 1 'Graphical
TabIndex = 9
Top = 650
Width = 1400
End
Begin VB.OptionButton Option7
Caption = "門(mén)診科室劃價(jià)"
Height = 370
Left = 7480
Style = 1 'Graphical
TabIndex = 8
Top = 240
Width = 1400
End
Begin VB.OptionButton Option8
Caption = "病房科室劃價(jià)"
Height = 370
Left = 8952
Style = 1 'Graphical
TabIndex = 7
Top = 240
Width = 1400
End
Begin VB.ComboBox Combo1
Height = 300
Left = 2400
TabIndex = 4
Text = "Combo1"
Top = 720
Visible = 0 'False
Width = 1450
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "至"
Height = 180
Left = 12120
TabIndex = 20
Top = 720
Width = 180
End
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "Label3"
ForeColor = &H000000FF&
Height = 180
Left = 11400
TabIndex = 6
Top = 8000
Width = 540
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "(劃價(jià)未交費(fèi))查詢(xún)結(jié)果總額合計(jì):"
ForeColor = &H000000FF&
Height = 180
Left = 8520
TabIndex = 5
Top = 8000
Width = 2880
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "處 方 劃 價(jià) 查 詢(xún)"
BeginProperty Font
Name = "隸書(shū)"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800080&
Height = 435
Index = 1
Left = 4080
TabIndex = 1
Top = 30
Width = 3990
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "處 方 劃 價(jià) 查 詢(xún)"
BeginProperty Font
Name = "隸書(shū)"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF80FF&
Height = 435
Index = 0
Left = 4080
TabIndex = 0
Top = 75
Width = 3990
End
End
Attribute VB_Name = "hjcxfrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim mdbstr3 As String
Dim mzbf
Private Sub Combo1_Click()
On Error GoTo er
If Option2.Value = True Then
Data1.RecordSource = "select * from 門(mén)診處方 where 操作員=" + "'" + Trim(Combo1.Text) + "'" & " and 收費(fèi)='未'"
Data1.Refresh
zehj = 0
While Data1.Recordset.EOF = False
zehj = zehj + Val(Data1.Recordset.Fields("合計(jì)"))
Data1.Recordset.MoveNext
Wend
Adodc1.RecordSource = Data1.RecordSource
Adodc1.Refresh
tchx "門(mén)診處方查詢(xún)"
Call disp8
Combo1.Visible = False
Option2.Value = False
End If
If Option5.Value = True Then
Data1.RecordSource = "select * from 病房處方 where 操作員=" + "'" + Trim(Combo1.Text) + "'" & " and 收費(fèi)='未'"
Data1.Refresh
zehj = 0
While Data1.Recordset.EOF = False
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -