Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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 December 21st, 2005, 02:09 AM
Authorized User
Join Date: May 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nextrecordset

Hi all,
Couild u please give me solution in the "ADO NextRecordset"Fox example
mystored proc is like this

Create Procedure prSample



SELECT * FROM table3

Now i loop thru the recordset

While Not ObjRs is nothing
  while Not ObjRs.eof
    rseponse.write objrs(0)
 set objRs=ObjRs.nextRecordset

"Now After looping thru all the Recordset i need to move to the first record of the first recordset"

Could anyone give the solution for this?????????

Old April 28th, 2006, 04:29 PM
Authorized User
Join Date: Sep 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Seems like you are making 3 sql statment. the solution I can think out is put them in to array. and using for next to show the record and ofcourse set the array back to 0.

Similar Threads
Thread Thread Starter Forum Replies Last Post
NextRecordset method in ADO.NET? Clay ADO.NET 6 April 20th, 2005 07:54 AM

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