BioMar records are all available from the NBN gateway.
<%
Dim objMarConn, objRS, objSQLStmt, strCriteria, strSort, strItem
set objMarConn = Server.CreateObject("ADODB.Connection")
Set objSQLStmt = Server.CreateObject("ADODB.Command")
objMarConn.ConnectionTimeout = 15
objMarConn.CommandTimeout = 30
objMarConn.Open strConnect
set objRS = Server.CreateObject("ADODB.Recordset")
strItem=Request.QueryString("item")
strCriteria="((Taxa.PhylumLetter)='" & strItem & "')"
strPhylum=Request.QueryString("phylum")
Set objSQLStmt.ActiveConnection = objMarConn
objSQLStmt.CommandText = "SELECT DISTINCT Taxa.Sdir_key, Taxa.Binomial, Taxa.Authority, Taxa.TaxonCode from marine.taxa INNER JOIN marine.LinkSlidesSpecies ON Taxa.Sdir_key = LinkSlidesSpecies.SpeciesID WHERE (" & strCriteria & " AND ((Used) = 1)) ORDER BY Taxa.TaxonCode"
objSQLStmt.CommandType = 1
objRS.CursorType=1
objRS.Open objSQLStmt
If not objRS.EOF Then
Dim strSpecies, strAuthor, strSpeciesID, strPhylum
Response.Write "
"
Response.Write "" & vbCrLf
Response.Write "| " & strPhylum & " | " & vbCrLf
Response.Write "
| Species: | " & vbCrLf
Response.Write "Authority: |
" & vbCrLf
Do While Not objRS.EOF
strSpecies=objRS("Binomial")
strAuthor=objRS("Authority")
strSpeciesID=objRS("Sdir_key")
Response.Write "| " & strSpecies & " | " & vbCrLf
Response.Write "" & strAuthor & " |
" & vbCrLf
objRS.Movenext
Loop
End If 'Error trap for missing item
objRS.Close
objMarConn.Close
set objRS=Nothing
set objMarConn=Nothing
Response.Write "
" & vbCrLf
%>