%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% set combo = Server.CreateObject("ADODB.Recordset") combo.ActiveConnection = MM_conRemax_STRING combo.Source = "SELECT agents.AgentName, agents.AgentSurname, homes.HomeAddress, homes.HomeID, homes.HomePrice, homes.HomeCategory, homes.HomeCity, homes.RemaxNumber, homes.HomeType FROM agents, homes WHERE agents.AgentID = homes.AgentID AND (agents.AgentID = 16 or AgentID2 = 16) AND homes.HomeCategory = 'Agricultural' ORDER BY HomePrice ASC" combo.CursorType = 0 combo.CursorLocation = 2 combo.LockType = 3 combo.Open() combo_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 combo_numRows = combo_numRows + Repeat1__numRows %>
<% If Not combo.EOF Or Not combo.BOF Then %>
I currently do not have any agricultural listings listed. Please check back in the future. <% End If ' end combo.EOF And combo.BOF %> |