Solved

Nested Repeat Region on an ASP VBscript page

Posted on 2007-04-07
3
468 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Unlike scripting languages such as C# where a semi-colon is used to indicate the end of a command, Microsoft's VBScript language relies on line breaks to determine when a command begins and ends. As you can imagine, this quickly results in messy cod…
Script to copy or move mouse-selected collection of files plus targets referenced by shortcuts (.lnk) The purpose of this article is to help illuminate the real challenges and options available (where they may exist) for utilizing simple scriptin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

810 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