<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1005934" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1005934</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/grouping-database-rows-asp#comment-1031615</link>
    <description> &lt;p&gt;Well, no thanks to anyone here, I figured it out myself  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;.  Thought I&#039;d post what I did just in case someone else out there was waiting for an answer, too.&lt;/p&gt;
&lt;p&gt;It wasn&#039;t the simple &quot;GROUP BY&quot; SQL clause that I&#039;d hoped would work: I turned out to need another column indicating how many programs are present for each merchant.  Then it became a &quot;brute force&quot; thing, looping through all the records one at a time.  When it&#039;s the first row for a given merchant, I add a rowspan=MerchRecCount field to the first two column &amp;lt;td&amp;gt; tags; in all other rows for that merchant the first two column cells are omitted.  There is a slight complication due to the paging of results (showing 20 at a time).  But since I am already keeping track of the fact that &quot;this is row n of MerchRecCount&quot;, it&#039;s easy to adjust the rowspan number accordingly for the first displayed row.&lt;/p&gt;
&lt;p&gt;The working results (as of today while I complete my testing) are on my site on the page at&lt;br /&gt;
 &lt;a href=&quot;http://www.RewardsLookup.com/EarnSearch2.asp&quot; class=&quot;bb-url&quot;&gt;http://www.RewardsLookup.com/EarnSearch2.asp&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;By tomorrow I should have moved it over to the main search URL mentioned in the first message of this thread.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
 &lt;a href=&quot;http://www.RewardsLookup.com&quot; class=&quot;bb-url&quot;&gt;http://www.RewardsLookup.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 19 Jun 2000 17:58:00 +0000</pubDate>
 <dc:creator>KLWong</dc:creator>
 <guid isPermaLink="false">comment 1031615 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
