<% end if %>
<% if strType = "doc" then %>
<%
'5/02/05 - Display application search results.
if true then
If Not objAppDocRs.EOF Then
blnResults = true
objAppDocRs.MoveFirst
RowCount = 0
docno = objAppDocRs.Fields("docno")
title = objAppDocRs.Fields("title")
longdesc = objAppDocRs.Fields("longdesc")
%>
<%
Set oRSChild = objAppDocRs("objAppDocRSDocs").Value
If Not oRSChild.EOF Then
%>
<%=oRSChild("doctype")%>
Doc ID
Title
Updated
File Type
Size (KB)
<%
Do While Not oRSChild.EOF
LongDescSC = oRsChild("longdesc")
%>
<%
oRSChild.MoveNext
Loop
oRSChild.Close
set oRSChild = nothing
%>
<%
End If
objAppDocRs.Close
set objAppDocRs = nothing
oConn.Close
end if
end if
%>
<% ' 5/22/06 - Display libraries
If Not objLibRs.EOF Then %>
Application Sample Libraries
Library Name
Version
Details
Associated Documentation
<%
LibFirst = ""
objLibRs.MoveFirst
RowCount = 0
Do While Not objLibRs.EOF
LibCurrent = objLibRs("lib_id")
strDescription = objLibRs("description")
strVersion = objLibRs("version")
strDetail = objLibRs("readme_file")
If cstr(LibFirst) <> cstr(LibCurrent) Then
LibFirst = LibCurrent
' Set row colors based on odd even
If RowCount MOD 2 = 0 Then
thisColor = "#FFFFFF"
Else
thisColor = "#EDEDED"
End If
%>
<% End If
RowCount = RowCount + 1
objLibRs.MoveNext
Loop
objLibRs.Close
%>
<%
Set objLibRs = Nothing
End If
%>
<% ' Display reference designs
If Not objRefRs.EOF Then %>
Reference Designs
Reference Design
Description
Product
<%
RefFirst = ""
objRefRs.MoveFirst
RowCount = 0
Do While Not objRefRs.EOF
RefCurrent = objRefRs("ref_id")
LongDescRef = objRefRs("long_description")
If cstr(RefFirst) <> cstr(RefCurrent) Then
RefFirst = RefCurrent
'' Set row colors based on odd even
If RowCount MOD 2 = 0 Then
thisColor = "#FFFFFF"
Else
thisColor = "#EDEDED"
End If
%>
<% End If
RowCount = RowCount + 1
objRefRs.MoveNext
Loop
objRefRs.Close
%>