<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022410" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022410</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sql-statement#comment-1138277</link>
    <description> &lt;p&gt;My database has a topics table and a table called survey.  In survey i have fields called Topic, Topic2, Topic3, Topic4 and Topic5.  These fields are linked to the TopicID and the topic name.  Displayed in the Survey table is the topic name so those who report will see the name of the topic and not just a number.&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Sep 2003 18:17:42 +0000</pubDate>
 <dc:creator>Devil&#039;s Angel</dc:creator>
 <guid isPermaLink="false">comment 1138277 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sql-statement#comment-1138276</link>
    <description> &lt;p&gt;Usually i design those relations with an intermediate table wich link users to topics. anyway for the error you get now could you ask for a print the sql statement to make sure you have the topicid inserted in it.&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Sep 2003 17:50:18 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1138276 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sql-statement#comment-1138264</link>
    <description> &lt;p&gt;I get the following error for both:&lt;/p&gt;
&lt;p&gt;Error Type:&lt;br /&gt;
Microsoft JET Database Engine (0x80040E10)&lt;br /&gt;
No value given for one or more required parameters.&lt;br /&gt;
/News_Events/NSCC_Experts/qry_by_topic.asp, line 38&lt;/p&gt;
&lt;p&gt;What I&#039;m trying to set up is on one page a listing of &quot;topics&quot;; when you click on the topic it will give you a list of people who belong to that topic. I want to allow any given person to belong to a max of 5 topics and them to be listed accordingly. &lt;/p&gt;
&lt;p&gt;Right now the topics listing works. If I only allow for one topic per person the whole thing works but I need to allow for them to possibly be under 5 categories.&lt;/p&gt;
&lt;p&gt;It&#039;s probably something really simple I&#039;m not doing right.  I wonder if it&#039;s something in my database...&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Sep 2003 12:10:09 +0000</pubDate>
 <dc:creator>Devil&#039;s Angel</dc:creator>
 <guid isPermaLink="false">comment 1138264 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sql-statement#comment-1138228</link>
    <description> &lt;p&gt;The extended OR join should be fine... maybe inclose it in parenthesis?&lt;/p&gt;
&lt;p&gt;table_name ON (long OR stuff)&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Sep 2003 19:20:24 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1138228 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/sql-statement#comment-1138219</link>
    <description> &lt;p&gt;i would try to put it in the where clause&lt;/p&gt;
&lt;p&gt;sql = &quot;SELECT Survey.Topic, Survey.ExpertId, Survey.[Last Name], Survey.[First Name] FROM Survey WHERE (TopicTable.TopicID = [Survey].Topic OR TopicTable.TopicID = [Survey].Topic2 OR TopicTable.TopicID = [Survey].Topic3 OR TopicTable.TopicID = [Survey].Topic4 OR TopicTable.TopicID = [Survey].Topic5) AND (((TopicTable.TopicID)=&quot; &amp;amp; Request.QueryString(&quot;TopicID&quot;) &amp;amp; &quot;)) &quot;&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Sep 2003 15:42:53 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1138219 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
