<% Const adCmdStoredProc = &H0004 Const adParamInput = &H0001 Const adVarChar = 200 Const adCurrency = 6 Const adInteger = 3 Dim strDataPath, strConnectString, objConnection, objCommand, objRS,i dim strPIN dim strFirstName dim strLastName dim strHouseNum dim strStreet strConnectString = "Provider=SQLOLEDB; DRIVER=SQLServer; SERVER=PTAX; UID=gisweb; PWD=gisweb^; DATABASE=dekalb_pt;" if not IsObject("ojbConnection") then set objConnection=Server.CreateObject("ADODB.Connection") objConnection.ConnectionTimeout = 15 objConnection.CommandTimeout = 10 objConnection.Mode = 3 'adModeReadWrite if objConnection.state = 0 then objConnection.Open strConnectString end if end if %> COMPASS Property Search
Parcel
Parcel Number:

Name
First Name:
Last Name:

Site Address
House Number:
Street Name:

1. Enter the information you would like to search and click "Search".

2. Click on any result to see detailed property information.

Tips: Enter parcel numbers without dashes, for example; 0101100001.
If no results are returned, try minimizing your search criteria,
for example; if First Name: John Last Name: Smith returns no results, try searching Last Name: Smith.

Note: (Use Chrome or Firefox– the map will not work correctly with Internet Explorer/Edge).

Click here to search parcel genealogy

<% 'if request.form("btnSubmit") = "Display Results" or request.form("btnSubmit") = "Search" then strPin = Request.form("PIN") strFirstName = Request.form("First_Name") strLastName = Request.form("Last_Name") strHouseNum = Request.form("HouseNum") strStreet = Request.form("Street") If(Len(strPin & strFirstName & strLastName & strHouseNum & strStreet) > 0) Then sqlStr = "SELECT TOP 600 [DeKalb_GIS].[dbo].[Parcels].[Parcel_Number] as parcel_Number " & _ ",[Owner] " & _ ",[SiteAddress] " & _ ",Max([ID]) as ID " & _ ",RTRIM(last_name + ' ' + ISNULL(suffix, '')) as last_name " & _ ",RTRIM(first_name + ' ' + ISNULL(middle_initial, '')) as first_name " & _ "FROM [DeKalb_GIS].[dbo].[Parcels] inner join [DeKalb_PT].dbo.SearchView " & _ "ON [DeKalb_GIS].[dbo].Parcels.Parcel_Number = [DeKalb_PT].dbo.SearchView.parcel_number " & _ "Where ([DeKalb_GIS].[dbo].Parcels.Parcel_Number like ? ) " set cmd = server.createobject("ADODB.Command") cmd.Parameters.Append cmd.CreateParameter("@Parcel_Number", adVarchar, adParamInput, 50, "%" & strPin & "%") If strFirstName & "" <> "" Then sqlstr = sqlStr & vbcrlf & "and (first_name LIKE ? ) " cmd.Parameters.Append cmd.CreateParameter("@first_name", adVarchar, adParamInput, 50, "%" & strFirstName & "%") End If If strLastName & "" <> "" Then sqlstr = sqlStr & vbcrlf & "and (last_name LIKE ? ) " cmd.Parameters.Append cmd.CreateParameter("@last_name", adVarchar, adParamInput, 50, "%" & strLastName & "%") End If If strHouseNum & "" <> "" Then sqlstr = sqlstr & vbcrlf & "and (housenum LIKE ? ) " cmd.Parameters.Append cmd.CreateParameter("@housenum", adVarchar, adParamInput, 50, "%" & strHouseNum & "%") End If If strStreet & "" <> "" Then sqlStr = sqlstr & vbcrlf & "and (street LIKE ? ) " cmd.Parameters.Append cmd.CreateParameter("@street", adVarchar, adParamInput, 50, "%" & strStreet & "%") End If sqlStr = sqlStr & vbcrlf & "Group by [DeKalb_GIS].[dbo].[Parcels].[Parcel_Number], Owner, SiteAddress, First_name, middle_initial, Last_Name, suffix " sqlStr = sqlStr & vbcrlf & "Order by Last_Name, First_name, SiteAddress, [DeKalb_GIS].[dbo].[Parcels].[Parcel_Number]" cmd.ActiveConnection = objConnection cmd.CommandText = sqlStr cmd.CommandType = 1 cmd.CommandTimeout = 900 set ResultsRs = server.CreateObject("ADODB.Recordset") set ResultsRs = cmd.Execute %>

Click on any row to view detailed parcel information
<% If Not ResultsRS.EOF and Not ResultsRS.BOF then 'ResultsRS.movefirst Do While Not ResultsRS.eof Response.write "" 'Response.write "" Response.write "" Response.write "" Response.write "" Response.write "" Response.write "" ResultsRS.movenext loop End if %>
Parcel Number Last Name First name Site Address
" & ResultsRS("parcel_number") & "" & ResultsRS("Last_Name") & "" & ResultsRS("first_name") & "" & ResultsRS("SiteAddress") & "
<% ResultsRS.Close Set ResultsRS = Nothing Set cmd.ActiveConnection = Nothing Set cmd = Nothing objConnection.Close set objConnection = Nothing end if %>

DeKalb County Homepage

free
web stats