-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnumfind.asp
85 lines (80 loc) · 2.97 KB
/
numfind.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<%@LANGUAGE="VBSCRIPT"%>
<%Option Explicit%>
<%
' =========================================================================================
' Copyright 2016 Community Information Online Consortium (CIOC) and KCL Software Solutions Inc.
'
' Licensed under the Apache License, Version 2.0 (the "License");
' you may not use this file except in compliance with the License.
' You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
' =========================================================================================
%>
<% 'Base includes %>
<!--#include file="includes/core/adovbs.inc" -->
<!--#include file="includes/core/incVBUtils.asp" -->
<!--#include file="includes/validation/incBasicTypes.asp" -->
<!--#include file="includes/core/incRExpFuncs.asp" -->
<!--#include file="includes/core/incHandleError.asp" -->
<!--#include file="includes/core/incSetLanguage.asp" -->
<!--#include file="includes/core/incPassVars.asp" -->
<!--#include file="text/txtGeneral.asp" -->
<!--#include file="text/txtError.asp" -->
<!--#include file="includes/core/incConnection.asp" -->
<!--#include file="includes/core/incSetup.asp" -->
<%
' setPageInfo(bLogin, intDomain, intDbArea, strPathToStart, strPathFromStart, strFocus)
Call setPageInfo(True, DM_GLOBAL, DM_CIC, vbNullString, vbNullString, vbNullString)
%>
<!--#include file="includes/core/incCrypto.asp" -->
<!--#include file="includes/core/incSecurity.asp" -->
<!--#include file="includes/core/incHeader.asp" -->
<!--#include file="includes/core/incFooter.asp" -->
<!--#include file="text/txtMenu.asp" -->
<% 'End Base includes %>
<!--#include file="text/txtLowestNUM.asp" -->
<!--#include file="includes/core/incFormat.asp" -->
<%
Call makePageHeader(TXT_LOWEST_UNUSED, TXT_LOWEST_UNUSED, False, False, True, False)
%>
<h3><%=TXT_LOWEST_UNUSED%></h3>
<table class="BasicBorder cell-padding-3">
<tr>
<th class="RevTitleBox"><%=TXT_AGENCY%></th>
<th class="RevTitleBox"><%=TXT_RECORD_NUM%></th>
</tr>
<%
Dim cmdLowestNUM, rsLowestNUM
Set cmdLowestNUM = Server.CreateObject("ADODB.Command")
With cmdLowestNUM
.ActiveConnection = getCurrentAdminCnn()
.CommandText = "dbo.sp_GBL_Agency_LowestNUM_l"
.CommandType = adCmdStoredProc
.Parameters.Append .CreateParameter("@MemberID", adInteger, adParamInput, 4, g_intMemberID)
.CommandTimeout = 0
Set rsLowestNUM = .Execute
End With
With rsLowestNUM
While Not .EOF
%>
<tr>
<td><%=.Fields("AgencyCode") & " - " & StringIf(Not Nl(.Fields("ORG_NAME_FULL"))," - " & .Fields("ORG_NAME_FULL"))%></td>
<td><%=.Fields("LowestNUM")%></td>
</tr>
<%
.MoveNext
Wend
End With
%>
</table>
<%
Call makePageFooter(False)
%>
<!--#include file="includes/core/incClose.asp" -->