Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Building a table from a cfquery

$
0
0

I'm trying to build a table of noise barrier area by material per year.  I have a query that gives me this:

 

(I have years from 1963 - 2013, so the below is just a sample)

 

2013    Berm    30

2013    Block    172

2013    Cast-in-place Concrete    51

2013    Combination    16

2013    Concrete    0

2013    Glass    4

2013    Metal    63

2013    Not Specified    19

2013    Other    0

2013    Precast Concrete    278

2013    Wood    49

 

(the 3rd column is area X 10,000sqft)

 

the problem is, while the years are fine as rows, I need the materials to be column headings, and not in a single column.  I swear I used to know how to do this, but now suddenly I'm drawing a blank.


Viewing all articles
Browse latest Browse all 5794

Trending Articles