Solved

Nested Repeat Region on an ASP VBscript page

Posted on 2007-04-07
3
470 Views
Last Modified: 2012-05-05
I need to create a nested repeat region on an asp vbscript page.
2 recordsets
The variable comes from recordset 1 ID_Item.
The rest of the fields will come from recordset2.

 
0
Comment
Question by:wharris26
  • 2
3 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 250 total points
ID: 18887099
What you need as output isn't quite clear.
If you wanted to output this in some sort of table format you could try:
Do While Not RS1.EOF
      Do While Not RS2.EOF
            ' Output RS1("FieldName") and RS2("FieldName")
      Loop
Loop

Hope that helps.

Rob.
0
 

Author Comment

by:wharris26
ID: 18958879
Thanks.  I actually accomplished what I needed with a different strategy but I appreciate the help.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 18961777
If it's not too much trouble, can you post the nested loop you used?
Mainly just for the benefit of others who may search for a similar thing?

Thanks,

Rob.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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