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>
-----Original Message-----
From: Tom Ferguson [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 14, 2004 11:41 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: List Results
I have a standard search taf that was created with the search builder.
I
skip over the Form action, because I want all the rows in the table
returned
in the List action. That works simple.
Rather than have the List results come out in a single vertical column,
I'd
like to have 3 columns. There is only one field returned from the list
action, so there is plenty of room. Has anyone already done this and
would
you care to show an example?
Here's the taf in it's rough state:
http://www.publicsquarebooks.com/catalog/showauthor.taf
Ok, I admit to being lazy, but I just didn't want to reinvent the wheel
if
one of you had already done something similar.
Thanks in advance.
Tom Ferguson
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf