<!-- #INCLUDE FILE="Common.asp" -->

<%
'
'   Filename: CensusSearch.asp
'   Generated with CodeCharge 1.1.17
'   ASP.ccp build 2/28/2001
'

sFileName = "CensusSearch.asp"





%><html>
<head>
<title>Census Search</title>
<meta name="GENERATOR" content="YesSoftware CodeCharge v.1.1.17 using 'ASP.ccp'">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0"> 
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body style="background-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helveticabackground-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helvetica">

 <table>
  <tr>
   
   <td valign="top">
<% Search_Show %>
    
   </td>
  </tr>
 </table>


</body>
</html>
<% 



'********************************************************************************



Sub Search_Show()
  
  action_page = "Results.asp"
  ' Set variables with search parameters
  
    fldFirst_Name = GetParam("First_Name")
    fldCensus_Year = GetParam("Census_Year")
    fldFamily = GetParam("Family")
    fldPlace_of_Birth = GetParam("Place_of_Birth")
    fldCounty = GetParam("County")
    fldState = GetParam("State")
  ' Show form
  
    %>
    <form method="GET" action="<%= action_page %>" name="Search">
    <table style="border-style: outset; border-width: 2">
     <tr>
      <td style="background-color: #990000; text-align: Center; border-style: outset; border-width: 1" colspan="13"><a name="Search"><font style="font-size: 12pt; color: #FFFFFF; font-weight: bold">Census Search</font></a></td>
     </tr>
     <tr>
      <td style="background-color: #FFCC66; border-style: inset; border-width: 1"><font style="font-size: 10pt; color: #000000">First Name</font></td>
      <td style="background-color: #FFFFEE; border-style: inset; border-width: 1"><input type="text" name="First_Name" maxlength="50" value="<%= ToHTML(fldFirst_Name) %>" size="50" ></td>
     </tr>
     <tr>
      <td style="background-color: #FFCC66; border-style: inset; border-width: 1"><font style="font-size: 10pt; color: #000000">Year</font></td>
      <td style="background-color: #FFFFEE; border-style: inset; border-width: 1"><input type="text" name="Census_Year" maxlength="6" value="<%= ToHTML(fldCensus_Year) %>" size="50" ></td>
     </tr>
     <tr>
      <td style="background-color: #FFCC66; border-style: inset; border-width: 1"><font style="font-size: 10pt; color: #000000">Family #</font></td>
      <td style="background-color: #FFFFEE; border-style: inset; border-width: 1"><input type="text" name="Family" maxlength="50" value="<%= ToHTML(fldFamily) %>" size="50" ></td>
     </tr>
     <tr>
      <td style="background-color: #FFCC66; border-style: inset; border-width: 1"><font style="font-size: 10pt; color: #000000">Place of Birth</font></td>
      <td style="background-color: #FFFFEE; border-style: inset; border-width: 1"><input type="text" name="Place_of_Birth" maxlength="50" value="<%= ToHTML(fldPlace_of_Birth) %>" size="50" ></td>
     </tr>
     <tr>
      <td style="background-color: #FFCC66; border-style: inset; border-width: 1"><font style="font-size: 10pt; color: #000000">County</font></td>
      <td style="background-color: #FFFFEE; border-style: inset; border-width: 1"><input type="text" name="County" maxlength="50" value="<%= ToHTML(fldCounty) %>" size="50" ></td>
     </tr>
     <tr>
      <td style="background-color: #FFCC66; border-style: inset; border-width: 1"><font style="font-size: 10pt; color: #000000">State</font></td>
      <td style="background-color: #FFFFEE; border-style: inset; border-width: 1"><select name="State"><%= get_options("select State_Name, State_Name from state order by 2",true,false,fldState)%></select></td>
     </tr>
     <tr>
     <td align="right" colspan="3"><input type="submit" value="Search"></td>
    </tr>
   </table>
   </form>
<%
  
end sub
%>