Loop a recordset within a looping recordset

Completed Posted Feb 3, 2006 Paid on delivery
Completed Paid on delivery

I have two looping recordsets and one recordset loops within the other recordset. The ASP/ADO code does not seem to work as I get the following error:

<<

[url removed, login to view] error '800a0e79'

Operation is not allowed when the object is open.

line 34

>>

I need someone to examine my code and help me figure out how I can get one recordset to loop within another recordset. Once I get this to work within an ASP page I would eventually create a Stored Procedure to run the SQL.

Here is some pseudocode which is an outline for what I am trying to do:

<<

SQL = "SELECT Id FROM Units"

[url removed, login to view] SQL

While Not [url removed, login to view]

SQL2 = "SELECT * FROM Measurements WHERE UnitID = " & rs1("Id")

[url removed, login to view] SQL2

While Not [url removed, login to view]

[url removed, login to view](rs2("FirstName"))

[url removed, login to view]()

Loop

[url removed, login to view]()

Loop

>>

I am not able to provide the Database to the coder, but hopefully someone has done this before and can give me guidance.

Any help would be greatly appreciated (and rewarded). I will eventually need to turn this into a Stored Procedure later.

## Deliverables

Corrected code with thorough comments to explain how the code works.

## Platform

ASP, ADO, SQL Server 2000, IIS 5.0

ASP Engineering MySQL PHP Software Architecture Software Testing SQL

Project ID: #3259610

About the project

4 proposals Remote project Active Feb 3, 2006

Awarded to:

vw1808810vw

See private message.

$5 USD in 2 days
(1 Review)
0.0

4 freelancers are bidding on average $23 for this job

atanughosh76

See private message.

$34 USD in 2 days
(128 Reviews)
7.5
rattanisoft

See private message.

$17 USD in 2 days
(314 Reviews)
7.5
dotnetdotar

See private message.

$34 USD in 2 days
(51 Reviews)
5.8