% if request.QueryString("area") = "" then sarea = 1 else sarea = request.QueryString("area") end if set rs=server.CreateObject("adodb.recordset") sql_cmd = "select * from [vendor] where area = " & sarea rs.open sql_cmd,OBJConn,1,1 select case sarea case 1 area = "NORTH AMERICA" case 2 area = "SOUTH AMERICA" case 3 area = "EUROPE" case 4 area = "ASIA" case 5 area = "AFRICA" case 6 area = "OCEANIA" end select %>