<%@LANGUAGE="VBSCRIPT"%> <% Dim combo__MMColParam combo__MMColParam = "%" If (Request.QueryString("AddressPick") <> "") Then combo__MMColParam = Request.QueryString("AddressPick") End If %> <% Dim combo Dim combo_cmd Dim combo_numRows Set combo_cmd = Server.CreateObject ("ADODB.Command") combo_cmd.ActiveConnection = MM_conRemax_STRING combo_cmd.CommandText = "SELECT agents.AgentName, agents.AgentSurname, homes.* FROM agents, homes WHERE agents.AgentID = homes.AgentID and homes.HomeAddress LIKE ? AND (homes.HomeCategory = 'Homes of Distinction' OR homes.HomeCategory = 'Residential' OR homes.HomeCategory = 'Bed and Breakfast' OR homes.HomeCategory = 'Rural Property') ORDER BY homes.HomeAddress ASC" combo_cmd.Prepared = true combo_cmd.Parameters.Append combo_cmd.CreateParameter("param1", 200, 1, 255, "%" + combo__MMColParam + "%") ' adVarChar Set combo = combo_cmd.Execute combo_numRows = 0 %> <% Dim Repeat1__numRows Repeat1__numRows = -1 Dim Repeat1__index Repeat1__index = 0 combo_numRows = combo_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 %> Stratford Remax a-b realty

Refine listings to this address (full or partial spelling)         

Click here to search by city and/or price range..

<% If Not combo.EOF Or Not combo.BOF Then %> <% While ((Repeat1__numRows <> 0) AND (NOT combo.EOF)) %> <% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 combo.MoveNext() Wend %>
Address
City/Town
Price
Bedroom(s)
Bathroom(s)
Home Status
" class="content1"><%=(combo.Fields.Item("HomeAddress").Value)%> <% If (combo.Fields.Item("VideoTour").Value) <> "" Then Response.Write "" Else Response.Write(" ") End if %>
<%=(combo.Fields.Item("HomeCity").Value)%>
<%= FormatCurrency((combo.Fields.Item("HomePrice").Value), 2, -2, -2, -2) %>
<%=(combo.Fields.Item("Bedrooms").Value)%>
<%=(combo.Fields.Item("Bathrooms").Value)%>
<%=(combo.Fields.Item("RemaxNumber").Value)%>
<% End If ' end Not combo.EOF Or NOT combo.BOF %> <% If combo.EOF And combo.BOF Then %>


There are no listing corresponding to your selection at this time.
Please use the arrow at the top of the page to go back one screen.

 

<% End If ' end combo.EOF And combo.BOF %>



Disclaimer: All information is deemed reliable but not guaranteed and should be independently verified. All properties are subject to prior sale, change or withdrawal. RE/MAX a-b Realty Ltd. shall not be responsible for any typographical errors, misinformation, misprints and shall be held totally harmless. Please call RE/MAX a-b Realty Ltd. for more details, in Stratford at 519-273-2821 or in St. Marys at 519-284-4720 or in Woodstock st 519-536-7535.

<% combo.Close() Set combo = Nothing %>