OK, that was a bit more complex then I thought.  Luckily I enjoy a challenge.  Here is a prototype of the display that you want, but this could be a challenge to integrate with a query, I think using the array notation of a query may be the best way.  Anyway here is some tested code.

<cfloop from="1" to="3" index="panel">


<cfoutput>
<cfset sec = 0>


<cfloop from="1" to="100" step="5" index="data">
<cfset sec = sec + 1>
<cfset start = data>
<cfset end = start + 4>


<div id="Panel#panel#-#sec#" style="margin-bottom: 1em;">
<span style="width: 1.25in; font-weight:bold;">Panel: #panel# Sec: #sec#</span>
<cfloop from="#start#" to="#end#" index="result">
  <span style="width: 1in; font-weight:bold;">
   DATE #Result#
  </span>
</cfloop>
<cfloop from="1" to="5" index="test">
  <div id="row#test#">
   <span style="width: 1.25in;">Test #test#</span>
   <cfloop from="#start#" to="#end#" index="result">
    <span style="width: 1in;">
     ABCDEF
    </span>
   </cfloop>
  </div>
</cfloop>
</div>


</cfloop>


</cfoutput>


</cfloop>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to