SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 11th, 2001, 03:45 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
problem where 1 recordset's values must equal another

<i><b>Originally posted by : hannelie (sg18@hotmail.com)</b></i><br />okay - little bit too complicated for me and I have been pulling out my hair for the past 2 days.<br /><br />I have 2 recordsets - one called Recordset1 and the other ContentRecordset.<br /><br />Recordset1 contains 2 fields - ID and Contentlist<br />Contentlist consists of a list of numbers that are separated with the delimiter ",". What I do, is read in the Contentlist, and Split them into the array arrContent(). <br /><br />Now, ContentRecordset contains 2 fields as well. ContentID and Name.<br /><br />I need to print a list, of all the records in ContentRecordset where the contentID = arrContent(x) for all the numbers in the array.<br /><br />I have no idea where to start with this - if I should use SQL, an embedded for statement or an If statement or a repeat. <br /><br />Any help will be gratefully appreciated.<br /><br />h.<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > problem where 1 recordset's values must equal another


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway