Please select the documentation type(s) you are interested in:
Select All Documentation Types
<%
Set docRs = Server.CreateObject("ADODB.Recordset")
otStr = "select docTypeId, DocType, Searchable from DocType where searchable <> 1 order by docType"
docRs.Open otStr, oConn, adOpenStatic
docRs.MoveFirst
count = 0
otStr = ""
Do While Not docRs.EOF
otStr = otStr & docRs("docTypeId")
count = count + 1
If count <> docRs.RecordCount Then
otStr = otStr & ","
End If
docRs.MoveNext
Loop
docRs.Close
docStr = "select docTypeId, DocType, Searchable from DocType where searchable = 1 order by docType"
docRs.Open docStr, oConn, , , adCmdText
docRs.MoveFirst
Do While Not docRs.EOF
%>
"> <%=docRs("DocType")%>
<%
docRs.MoveNext
Loop
%>
Other
<% elseif strType="app" then ' Display application search %>
All Applications
<%
objAppRs.Open "select distinct app_id, name, description from t_application order by description", oConn2, adOpenStatic, , adCmdText
objAppRs.MoveFirst
rcount = 0
Do While Not objAppRs.EOF
%>
<% Do While Not rcount > 1 AND NOT objAppRs.EOF %>
" ID="app">
<%= objAppRs("Name") %>
<%
rcount = rcount + 1
objAppRs.MoveNext
Loop
If objAppRs.EOF and rcount < 2 Then %>
<%End If
rcount = 0 %>
<% Loop
objAppRs.Close
%>
Please select the documentation type(s) you are interested in:
Select All Documentation Types
<%
Set docRs = Server.CreateObject("ADODB.Recordset")
otStr = "select docTypeId, DocType, Searchable from DocType where searchable <> 1 order by docType"
docRs.Open otStr, oConn, adOpenStatic
docRs.MoveFirst
count = 0
otStr = ""
Do While Not docRs.EOF
otStr = otStr & docRs("docTypeId")
count = count + 1
If count <> docRs.RecordCount Then
otStr = otStr & ","
End If
docRs.MoveNext
Loop
docRs.Close
docStr = "select docTypeId, DocType, Searchable from DocType where searchable = 1 order by docType"
docRs.Open docStr, oConn, , , adCmdText
docRs.MoveFirst
Do While Not docRs.EOF
%>
" ID="Checkbox3"> <%=docRs("DocType")%>
<%
docRs.MoveNext
Loop
%>
Other
<%
end if %>