Solved

Handling ResultSet data in ASP

Posted on 2013-05-10
2
272 Views
Last Modified: 2013-07-04
I have declared a database connection as follows

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "..."
RS = Conn.Execute("SQL")

This returns a resultset object as expected, what I am looking for is a way to query the resultset further to get more accurate results within my asp page. Is this possible - I imagine the modern day equivalent is something like LINQ? If not can I get the resultset into another object type that is easier to query.
0
Comment
Question by:Blowfelt82
2 Comments
 
LVL 4

Accepted Solution

by:
Ersoy Hasan earned 500 total points
ID: 39154761
I think you can use .Filter method for a recordset variable.
Something like this :
rs.Filter="Lastname='Smith'"

Open in new window

0
 
LVL 32

Expert Comment

by:Big Monty
ID: 39165032
the best way to filter it would be directly in the sql:

select from table where field = 'xxx'
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now