%@ LANGUAGE="VBScript" %> <% Set Connection = Server.CreateObject("ADODB.Connection") Connection.Mode = adModeRead Connection.Open phdb_rd SQLStmt = "select HYBRID_ID, HYBRID_TYPE from ASSEMBLY.ASM_HYBRID_ID order by HYBRID_TYPE,HYBRID_ID" Set RS = Connection.Execute(SQLStmt) %>
<% Old_ht = "X" Do While Not RS.EOF %>
<%
If Cstr(RS("HYBRID_TYPE")) <> Old_ht Then
Response.write(" Hybrid Type : " & Cstr(RS("HYBRID_TYPE")) & "
")
Old_ht=Cstr(RS("HYBRID_TYPE"))
End If
%>
<%
RS.Movenext
Loop
%>
<% Connection.Close %>