📄 frmwjyc.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{0B81E4A9-BE4E-4AEF-9272-33AB5B51C6FC}#1.0#0"; "XPControls.ocx"
Begin VB.Form FrmWJYC
BackColor = &H00D3DABC&
Caption = "未见异常名单导出"
ClientHeight = 6405
ClientLeft = 60
ClientTop = 345
ClientWidth = 8535
Icon = "FrmWJYC.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 6405
ScaleWidth = 8535
StartUpPosition = 2 '屏幕中心
Begin VB.ComboBox cmbDWei
Height = 300
Left = 90
Style = 2 'Dropdown List
TabIndex = 3
Top = 330
Width = 2685
End
Begin MSComctlLib.ListView LvwDWei
Height = 4875
Left = 30
TabIndex = 0
Top = 690
Width = 8475
_ExtentX = 14949
_ExtentY = 8599
View = 2
LabelWrap = -1 'True
HideSelection = 0 'False
AllowReorder = -1 'True
FullRowSelect = -1 'True
GridLines = -1 'True
_Version = 393217
ForeColor = 12582912
BackColor = 12648384
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 3
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "预约编号"
Object.Width = 0
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "单位名称"
Object.Width = 5292
EndProperty
BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 2
Text = "体检日期"
Object.Width = 2540
EndProperty
End
Begin XPControls.XPCommandButton cmdOK
Height = 435
Left = 4680
TabIndex = 1
ToolTipText = "以EXCEL格式导出"
Top = 5790
Width = 1155
_ExtentX = 2037
_ExtentY = 767
Caption = "导 出"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin XPControls.XPCommandButton cmdExit
Height = 435
Left = 6330
TabIndex = 2
Top = 5790
Width = 1155
_ExtentX = 2037
_ExtentY = 767
Caption = "退 出"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 450
Top = 5790
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MSComCtl2.DTPicker dtpStop
Height = 345
Left = 4650
TabIndex = 4
Top = 300
Width = 1455
_ExtentX = 2566
_ExtentY = 609
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Format = 61603841
CurrentDate = 38039
MaxDate = 73415
MinDate = 2
End
Begin MSComCtl2.DTPicker dtpBegin
Height = 345
Left = 2820
TabIndex = 5
Top = 300
Width = 1455
_ExtentX = 2566
_ExtentY = 609
_Version = 393216
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Format = 61603841
CurrentDate = 38039
MaxDate = 73415
MinDate = 2
End
Begin XPControls.XPCommandButton XPCommandButton1
Height = 345
Left = 6600
TabIndex = 8
Top = 300
Width = 1155
_ExtentX = 2037
_ExtentY = 609
Caption = "查 询"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "到"
Height = 255
Left = 4320
TabIndex = 9
Top = 360
Width = 375
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "体检单位:"
Height = 255
Left = 90
TabIndex = 7
Top = 90
Width = 975
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "体检日期 从"
Height = 255
Left = 2790
TabIndex = 6
Top = 60
Width = 1185
End
End
Attribute VB_Name = "FrmWJYC"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim YYID As String
Dim arrYYID() As String '团体的预约ID数组
'Private Sub SelectNodeAll()
'' Dim i As Integer
''
'' For i = 1 To tvwXMu.Nodes.Count
'' tvwXMu.Nodes(i).Selected = True
'' Next i
'End Sub
'显示所有项目(对团检和散检),部分项目(对团检)
'Private Sub ShowXiangMu(ByVal blnAll As Boolean, Optional ByVal strYYID As String)
'On Error GoTo ErrMsg
' Dim Status
' Dim strSQL As String
' Dim nodTemp As Node
' Dim nodRoot As MSComctlLib.Node
' Dim rsKShi As ADODB.Recordset
' Dim rsDX As ADODB.Recordset
' Dim rsXX As ADODB.Recordset
' Dim i As Integer
'
' Me.MousePointer = vbHourglass
'
'' tvwXMu.Nodes.Clear
'
' If blnAll = False Then
' tvwXMu.CheckBoxes = True
' Else
' tvwXMu.CheckBoxes = False
' End If
'
' '首先显示一个根节点
' Set nodRoot = tvwXMu.Nodes.Add(, , "W", "所有项目")
' nodRoot.Expanded = True
'
' '显示所有科室
' strSQL = "select KSID,KSMC from SET_KSSZ"
' If blnAll = False Then
' '如果不是显示所有科室,则只显示有选择的科室
' strSQL = strSQL & " where KSID in (" _
' & "select left(DXID,2) from YY_SJDJDX" _
' & " where GUID in (" _
' & "select GUID from SET_GRXX" _
' & " where YYID='" & strYYID & "')" _
' & ")"
' End If
' '按顺序号排序
' strSQL = strSQL & " order by SXH"
' Set rsKShi = New ADODB.Recordset
' rsKShi.Open strSQL, GCon, adOpenStatic, adLockOptimistic
' If rsKShi.RecordCount > 0 Then
' rsKShi.MoveFirst
' Do
' '添加科室
' '关键字长度:1+2=3
' Set nodTemp = tvwXMu.Nodes.Add("W", tvwChild, "W" & rsKShi("KSID"), rsKShi("KSMC"))
'' nodTemp.Expanded = True
'
' strSQL = "select DXID,DXMC,DXSFYZX from SET_DX" _
' & " where left(DXID,2)='" & rsKShi("KSID") & "'"
' If blnAll = False Then
' '如果不是显示所有项目,则只显示有选择的大项
' strSQL = strSQL & " and DXID in(" _
' & "select distinct DXID from YY_SJDJDX" _
' & " where GUID in (" _
' & "select GUID from SET_GRXX" _
' & " where YYID='" & strYYID & "')" _
' & ")"
' End If
' '判断性别
' If optMale.Value = True Then '男性
' strSQL = strSQL & " and DXNNTY<>2"
' ElseIf optFemale.Value = True Then '女性
' strSQL = strSQL & " and DXNNTY<>1"
' End If
'
' '按顺序号排序
' strSQL = strSQL & " order by SXH"
' Set rsDX = New ADODB.Recordset
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -