Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2004, 09:21 PM
Authorized User
 
Join Date: Aug 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default retreiving a recordset with different records

Hi,
I am trying to pull a range of recordsets out of an access database along with a single recordset, is there a way to accomplish this with the following code, i want to include contentID 85 and 86 along with the recordsets contentID 10 to 19. This is the code that i am using currently.

<%for i=10 to 19%>
...
<%rs.moveNext
next%>

Thanks
-Pablo


 
Old August 31st, 2004, 02:33 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

hello,

  what exactly you want. What you are doing in your code
for loop and rs.movenext

Make it clear.

 
Old August 31st, 2004, 02:37 AM
Authorized User
 
Join Date: Aug 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sinapra Send a message via MSN to sinapra Send a message via Yahoo to sinapra
Default

you can hardcode it if you want the required Ids, but the same Ids would appear in each for loop, I mean each recordset.
I hope what I said is clear

Regards

sinapra
 
Old September 3rd, 2004, 02:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Pablo,

Your post doesn't explain much on what you wanted. So I don't think that is enough to help you out in what you are trying to accomplish, unless it is explained more in detail.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Retreiving value from InputBox maniatis1 Classic ASP Professional 1 January 4th, 2007 03:36 PM
retreiving data from URL pavanntcs Oracle 1 September 20th, 2006 02:05 AM
How to get number of records in recordset Ciarano VB How-To 6 March 3rd, 2004 10:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.