Ted,

Here is a snippet that Robert Shubert sent to me a couple of weeks ago that
you should be able to modify for your use.

-------------------------------------------
A 2 column snippet you can start with:

<@IFEQUAL <@CALC <@TOTALROWS>%2> 0>
<@ASSIGN loop_rows <@CALC <@TOTALROWS>/2>>
<@ELSE>
<@ASSIGN loop_rows <@CALC (<@TOTALROWS>+1)/2>>
</@IF>


<table cellpadding=2 cellspacing=0 border=0 width="100%">
<@FOR stop=@@loop_rows>
<tr>
<td><@VAR resultset[<@CURROW>,2]></td>
<td><@VAR resultset[<@CALC <@CURROW>+<@VAR
loop_rows>>,2]></td>
</tr>
</@FOR>
</table>
------------------------------------------------

Hope this helps!

> -----Original Message-----
> From: Ted Wolfley [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 08, 2004 3:08 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Witango-Talk: Long List Wrap
>
>
> Hi,
>
> Put the results into an array.
>
> Use a for loop with the desired column length.  Calculate how many columns
> you want.  Loop through the array, column1[*,1], column2[column
> length+*,1],
> column3[column length+column length+*,1], etc...
>
>
> Ted
>
> -----Original Message-----
> From: Steve Campbell [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 08, 2004 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Witango-Talk: Long List Wrap
>
>
> Sometime ago, I asked this question and got a great answer here on this
> list. I have searched the archives and been unable to find it so
> I suppose I
> will ask again.
>
> I have a results list page that is very very long.  Matter of fact it goes
> into the thousands.  So, I was wanting it to show like 20 results and then
> wrap back up to the top of the page.  Since the list only
> contains one field
> I have room to keep wrapping up to the top.
>
> I hope this makes sense, but instead of one long list of names, I need to
> wrap them up to make several lists since the whole list is so long.
>
> If this made sense and you have any ideas, I would appreciate the
> response.
>
> Thanks!!!
>
> Steve
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.627 / Virus Database: 402 - Release Date: 3/16/2004
>
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
> ________________________________________________________________________
> 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