Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: gendrall
I have an output that I'd like to split up into 2 columns. I've done it before using a recordcount, divide by 2, one column has a maxrows in the output, the second has startrow in the output. This way is no longer working for me as my cfoutput, with a group, is not spliting things up in an even manner like I need it to.
Here's my code, without a split:
I want to have an even number split, not just of countries, but of the results. So if the country needs to be split in 2 colums that is fine. Like if the region is north america, the countries that are there displayed are Bermuda, Canada and the US. Bermuda has one hotel, Canada has several (but for some reason doesn't show), but the US has all 50 states in one column. And Bermuda is all by itself...a bit off balanced since in the other column that is displayed has all 50 states.
Any one have a solution? Confused as to what I'm trying to say?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: gendrall
You mean a query in the outputs or sub queries in the initial query?
What about looping over a ValueList?
I don't want to have too many queries on the page since there will be a lot of results and I don't want to hammer the server too much :-]
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: gendrall
Query of queries?
Well, you've got me stumped. I've never actually worked with a query of queries and ashamed to say I've never heard of such a thing. How does one go about using them?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied