Steve,

 

You could do something like the “break processing” that Mike Young used to teach at Everyware.

 

Set up a table.

Loop through the resultSet.

Every time the month changes from the previous record start a new <td>

 

For example, if you search is like SELECT StoryID, StoryDate, StoryTitle

Your results html could be:

<table>

<tr valign=top>

<@rows>

<@if expr=”@@local$currentMonth != <@column StoryDate format=’datetime:%m’>”>

            <@assign local$currentMonth <@column StoryDate format=’datetime:%m’>>

            <@if expr=”<@currow>>1” true=”</td>”>

            <td>

</@if>

<a href=…><@column storyTitle></a><br>

</@rows>

</td></tr>

</table>

 

Dave Shelley

 

-----Original Message-----
From: Steve Campbell [mailto:[EMAIL PROTECTED]]
Sent
:
Thursday, October 21, 2004 9:42 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Search Results

 

I currently have a search actions page that brings back a LOT of results….

They are all lined up by date and my question is two fold.

 

On this page, has anyone ever used code that could condense things down by months?    Has anyone used code that would keep the individual days from displaying straight down the page.  I would like to try to wrap things back up to the top if you follow what I am trying to explain.

 

If you take a look at the taf, I think it makes complete sense

 

http://forerunners.org/edit.taf?_function=list

 

 

Thanks for any help on this one.

 

 

 

Steve


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.779 / Virus Database: 526 - Release Date: 10/19/2004

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to