Print Page | Close Window

Querying Oracle Database?

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Database Discussion
Forum Description: Discussion and chat on database related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6280
Printed Date: 30 March 2026 at 7:16am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Querying Oracle Database?
Posted By: ChiZel_MunKee
Subject: Querying Oracle Database?
Date Posted: 09 October 2003 at 7:48am

Here is the situation.  I've populated a dropdown list with a field from our Oracle database.  From there the users find what they're looking for, highlight it and click Search.  It runs the query and presents the results, but it should only return one result.  Example:  They highlight Forest Glen Addn and click Search.  Instead of just returning Forest Glen Addn it returns Forest Creek and Forest Glen South as well.  So instead of using the whole string it only takes the first word and queries on that.  If anyone can help me to get it to use the exact string chosen it'd be greatly appreciated.  Code Below:                    

<% do while not rs.EOF %>

<%

Response.write "<option value=" + Cstr(rs("Subdiv")) +">" + rs("Subdiv") + "</option>"

rs.MoveNext

loop

%>

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net