Solved

Nested Repeat Region on an ASP VBscript page

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Welcome to part one of a multi-part tutorial series, VBScript for Windows System Administrators.  The goal of this series is to teach non-programmers how to write useful VBS code to automate their environment, and perform tasks faster, and in a more…
Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now