Dan: I have a <cfoutput query="articles"> wich processes either various
records or one record only. The "one record" returns from a .cfc as a
structure not as a query. I would rather let the .cfc alone cause is kind of
complicated. Am I confused?


-----Original Message-----
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 11:50 AM
To: CF-Talk
Subject: Re: Convert Structure to Query

Just curious why you would ever need to turn a structure into a query? I
mean the the reverse is obvious but I can't think of one situation where I
have needed to do it at. Just wondering, Thanks...

you could if you wanted to accomplish that though

1.) create a new query by using queryNew()
2.) create the columns queryAddColumn()
3.) queryAddRow(struct.val1,struct.val2,etc)


On 11/15/06, Jake Churchill <[EMAIL PROTECTED]> wrote:
>
> Loop over it?  I've only needed to do it once or twice but that's what I
> did.  If anyone has a better solution, I'd love to hear it.
>
> Walter Conti wrote:
> > Is there a function to convert a structure to a query?
> > Thank You
> >
> >
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260570
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to