Solved

multiple records access recordset asp classic

Posted on 2012-04-03
1
335 Views
Last Modified: 2012-04-19
how can we access exact records on a recordset with multiple records ?

so far we see this example, but it specifies for 'The first number indicates how many records to copy

we dont know how many records it will bring

p=rs.GetRows(2,0)
rs.close
conn.close

'This example returns the value of the first
'column in the first two records
response.write(p(0,0))
response.write("<br />")
response.write(p(0,1))
0
Comment
Question by:goodluck11
1 Comment
 
LVL 19

Accepted Solution

by:
Rimvis earned 500 total points
Comment Utility
Hello goodluck11,

You can use GetRows method without any parameters to get all rows:

GetRows to extract data from a database
http://www.codefixer.com/articles/getrows.htm
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

744 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

21 Experts available now in Live!

Get 1:1 Help Now