Nested Repeat Region on an ASP VBscript page

Posted on 2007-04-07
Medium Priority
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.

Question by:wharris26
  • 2
LVL 65

Accepted Solution

RobSampson earned 750 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")

Hope that helps.


Author Comment

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

Expert Comment

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?



Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
When you have multiple client accounts to manage, it often feels like there aren’t enough hours in the day. With too many applications to juggle, you can’t focus on your clients, much less your growing to-do list. But that doesn’t have to be the cas…

588 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