Re: Displaying Query Results in Two or More Columns

2000-12-23 Thread Bud

On 12/23/00, Bud penned:
>
>

Actually, you don't need the evaluate function in there.


-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Displaying Query Results in Two or More Columns

2000-12-23 Thread Bud

On 12/23/00, Barney Stevenson penned:
>There is probably a really obvious answer to this, but I can't work out
>how to display records in multiple columns.
>
>I want to achieve something like this:
>
>record 1record 2
>record 3record 4
>record 5record 6
>etc.
>
>So that my query results are displayed in balanced columns

Here is your best bet. You can set the cols variable to whatever you 
want. If there are any cells remaining, such as if you used 2 like 
you want and have 11 records, it will place a blank cell in the last 
row. If you set cols to 3 and have 7 items, there will be two blank 
cells in the last row, etc., etc.  Archive this code for the future. 
LOL






#myOutput#


 


-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Displaying Query Results in Two or More Columns

2000-12-22 Thread Jon Hall

There are several ways to do what you want, the easiest imo below.
Now try thinking about 3 columns of data going vertical with
subcategories...ouch, I hated that site ;-)





SELECT Items







#Items#






jon

- Original Message -
From: "Barney Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 22, 2000 9:31 PM
Subject: Displaying Query Results in Two or More Columns


> There is probably a really obvious answer to this, but I can't work out
> how to display records in multiple columns.
>
> I want to achieve something like this:
>
> record 1record 2
> record 3record 4
> record 5record 6
> etc.
>
> So that my query results are displayed in balanced columns.
>
> Any ideas?
>
> Regards
>
> Barney
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Displaying Query Results in Two or More Columns

2000-12-22 Thread Barney Stevenson

There is probably a really obvious answer to this, but I can't work out
how to display records in multiple columns.

I want to achieve something like this:

record 1record 2
record 3record 4
record 5record 6
etc.

So that my query results are displayed in balanced columns.

Any ideas?

Regards

Barney
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists