Hi there,
I'm replicating the look of an Access form in Coldfusion
In Access I can create group headers to sort my data, so all the jobs under a particular site appear under that site name - which appears only once.
I'm using a cfloop query to get all my results in CF so my site name is repeated constantly. - like so
Site: MYSITE1
Job1
Site:MYSITE1
Job2
How do I get it to appear only once, as a header for all the jobs underneath it? Obviously the loop will need to go on and output the jobs under the next site, with that only having one header as well. like so...
Site: MYSITE1
Job1
Job2
Job3
Site: MYSITE2
Job1
Job2
Thanks for your help!
I'm replicating the look of an Access form in Coldfusion
In Access I can create group headers to sort my data, so all the jobs under a particular site appear under that site name - which appears only once.
I'm using a cfloop query to get all my results in CF so my site name is repeated constantly. - like so
Site: MYSITE1
Job1
Site:MYSITE1
Job2
How do I get it to appear only once, as a header for all the jobs underneath it? Obviously the loop will need to go on and output the jobs under the next site, with that only having one header as well. like so...
Site: MYSITE1
Job1
Job2
Job3
Site: MYSITE2
Job1
Job2
Thanks for your help!
Comment