<%@LANGUAGE="VBSCRIPT"%> <% set Interns = Server.CreateObject("ADODB.Recordset") Interns.ActiveConnection = MM_People_STRING Interns.Source = "SELECT * FROM Interns ORDER BY Designation, LastName ASC" Interns.CursorType = 0 Interns.CursorLocation = 2 Interns.LockType = 3 Interns.Open() Interns_numRows = 0 %> <% Dim NoBios__currentID NoBios__currentID = "1" if (Interns.Fields.Item("ID").Value <> "") then NoBios__currentID = Interns.Fields.Item("ID").Value %> <% set NoBios = Server.CreateObject("ADODB.Recordset") NoBios.ActiveConnection = MM_People_STRING NoBios.Source = "SELECT ID FROM Interns WHERE Bio = '' AND ID = " + Replace(NoBios__currentID, "'", "''") + "" NoBios.CursorType = 0 NoBios.CursorLocation = 2 NoBios.LockType = 3 NoBios.Open() NoBios_numRows = 0 %> <% Dim Repeat1__numRows Repeat1__numRows = -1 Dim Repeat1__index Repeat1__index = 0 Interns_numRows = Interns_numRows + Repeat1__numRows %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each Item In Request.QueryString NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item)) End If Next ' add the Form variables to the MM_keepForm string For Each Item In Request.Form NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> Interns, Research Fellows and Volunteers
Back to start page...
Interns, Research Fellows
and Volunteers
Click here for Scientific Review Board

Interns and Volunteers:

>>Click here for an interactive map of Intern,
Volunteer and Research Fellow locations worldwide

<% While ((Repeat1__numRows <> 0) AND (NOT Interns.EOF)) %>

<%=(Interns.Fields.Item("FirstName").Value)%> <%=(Interns.Fields.Item("MiddleName").Value)%> <%=(Interns.Fields.Item("LastName").Value)%>
<%=(Interns.Fields.Item("Title").Value)%>
<% If Interns.Fields.Item("Active").Value <> True Then %> Former <% End If %> <%=(Interns.Fields.Item("Designation").Value)%>
Currently based in: <%=(Interns.Fields.Item("Location").Value)%>
<% If Interns.Fields.Item("Bio").Value <> "" Then %> ">Biographical sketch <% End If ' end NoBios.EOF And NoBios.BOF %>

<% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 Interns.MoveNext() Wend %>

 

top | Solutions Site home

<% Interns.Close() %> <% NoBios.Close() %>