|
Hi
Rod,
If
it's just one field and you are matching dates (ie. date1 = date2), a
referential struct may help, ie
<cfset struct[date]=arrayNew(1)>
...
<cfset
arrayAppend(struct[date],structOfcolumns)>
Or you
may be able to use looping or cfoutput grouping, ie.
<cfoutput
query="myquery" group="datefield">
#datefield#<hr />
<cfoutput>
#recordDetails#<br>
</cfoutput>
<hr />
</cfoutput>
or
<cfloop query="myquery">
<cfif datefield IS thisDate>
...
</cfif>
<cfif dateField IS thatDate>
...
</cfif>
</cfloop>
Not
really sure about the purpose you need but there would be a solution without
QoQ, just not sure how difficult it would be to implement.
QoQ is
pretty inefficient - I'm not saying you shouldn't use it, I just don't like QoQ
all that much. It's a personal thing, really. Perhaps someone with more
experience in QoQ may be able to help..
Joel
|
- [cfaussie] QofQ Rod Higgins
- [cfaussie] Re: QofQ Joel Cass
- [cfaussie] Re: QofQ Rod Higgins
- [cfaussie] Re: QofQ Joel Cass
- [cfaussie] Re: QofQ Rod Higgins
- [cfaussie] Re: QofQ Blair McKenzie
