I left out that part accidently...
at the beginning of this code add
I left out that part accidently...
at the beginning of this code add
I'm new to CF and used ASP several years ago which output the query into nicely formated columns. So Ineed to learn this code. It would be nice if the code were updated to show corrections such as stating the cols. Again I'm so new I dont know what I could delare for the Col variable??
Thanks for catching that. As for the #cols - (recordcount mod cols)#" part, what version CF are you using? This works fine for me in 5 and 6 (MX) Anyways, I will have a table-less version soon. I just haven't had a situation come up where I really needed it, so I haven't done it yet.
Just tried out this tutorial and had 2 minor problems.
First, your instructions omit that you need to set a variable named "cols" and that is variable should be a number equal to the number of columns you desire. I know, its pretty a pretty obvious thing, but when I was starting out, I needed those obvious things stated. ; )
Second, where you have: