true...

but, i like the struct idea, so im using that actually ;)

but thank you for the idea...

tony


On Mon, 13 Sep 2004 05:27:50 -0500, Jim Mattson <[EMAIL PROTECTED]> wrote:
> Tony,
> 
> You could instantiate and return another CFC.
> 
> Jim M
> 
> 
> On Fri, 10 Sep 2004 14:51:23 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> > theres an idea...
> 
> 
> >
> > aight, cool..
> > thanks.
> >
> > On Fri, 10 Sep 2004 14:48:38 -0400, Cave, Phillip (Contractor)
> >
> >
> > <[EMAIL PROTECTED]> wrote:
> > > a cfc can't have multiple return values. however, you can return a struct that 
> > > contains your query, another struct, etc...
> > >
> > > phillip
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Behalf Of Tony Weeg
> > > Sent: Friday, September 10, 2004 2:47 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [CFCDev] var variables
> > >
> > > aight....
> > >
> > > one more question....
> > >
> > > im returning a query from my cfc to my calling cfm template.
> > >
> > > how do you return *multiple* things?
> > >
> > > like say i want to return that query, and i want to return a struct,
> > > and maybe an array of something.  can you return multiple things?
> > >
> > > thanks.
> > > tony
> > >
> > > On Fri, 10 Sep 2004 14:45:08 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> > > > BARNEY!
> > > >
> > > > you rock.
> > > >
> > > > that was it!
> > > >
> > > > thanks!
> > > >
> > > >
> > > >
> > > >
> > > > On Fri, 10 Sep 2004 11:12:18 -0700, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> > > > > I believe 'get' is a reserved word in the QofQ lexicon, and therefore
> > > > > needs to be escaped with brackets:
> > > > >
> > > > > SELECT *
> > > > > FROM [get]
> > > > > WHERE ...
> > > > >
> > > > > I ran into that or something like that a couple weeks ago, and
> > > > > escaping was the solution
> > > > >
> > > > > cheers,
> > > > > barneyb
> > > > >
> > > > > On Fri, 10 Sep 2004 14:06:28 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> > > > > > hi there.
> > > > > >
> > > > > > i have this code @ the top of my cfc
> > > > > > where i initialize the variable to be used in the cfc
> > > > > >
> > > > > > <cfset var get = 0>
> > > > > >
> > > > > > and then later on down i have a query that is of the same name
> > > > > > that is also the query i return back to the calling cfm page.
> > > > > >
> > > > > > problem...
> > > > > > i cannot do a query of queries on the query called get,
> > > > > >
> > > > > > i get this error:
> > > > > >
> > > > > > Diagnostics:
> > > > > > Error Executing Database Query.
> > > > > > Query Of Queries syntax error.
> > > > > > Encountered "get" at line 0, column 0.
> > > > > > The error occurred on line 430.
> > > > > >
> > > > > > ? any ideas?
> > > > > >
> > > > > > --
> > > > > > tony
> > > > > >
> > > > > > Tony Weeg
> > > > > >
> > > > > > human.
> > > > > > macromedia certified cold fusion developer
> > > > > > email: tonyweeg [at] gmail [dot] com
> > > > > > blog: http://www.revolutionwebdesign.com/blog/
> > > > > > cool tool: http://www.antiwrap.com
> > > > > > ----------------------------------------------------------
> > > > > > You are subscribed to cfcdev. To unsubscribe, send an email
> > > > > > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> > > > > > in the message of the email.
> > > > > >
> > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported
> > > > > > by Mindtool, Corporation (www.mindtool.com).
> > > > > >
> > > > > > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL 
> > > > > > PROTECTED]
> > > > > >
> > > > >
> > > > > --
> > > > > Barney Boisvert
> > > > > [EMAIL PROTECTED]
> > > > > 360.319.6145
> > > > > http://www.barneyb.com
> > > > >
> > > > >
> > > > > ----------------------------------------------------------
> > > > > You are subscribed to cfcdev. To unsubscribe, send an email
> > > > > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> > > > > in the message of the email.
> > > > >
> > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported
> > > > > by Mindtool, Corporation (www.mindtool.com).
> > > > >
> > > > > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL 
> > > > > PROTECTED]
> > > > >
> > > >
> > > >
> > > > --
> > > > tony
> > > >
> > > > Tony Weeg
> > > >
> > > >
> > > >
> > > > macromedia certified cold fusion developer
> > > > email: tonyweeg [at] gmail [dot] com
> > > > blog: http://www.revolutionwebdesign.com/blog/
> > > > cool tool: http://www.antiwrap.com
> > > >
> > >
> > > --
> > > tony
> > >
> > > Tony Weeg
> > >
> > > macromedia certified cold fusion developer
> > > email: tonyweeg [at] gmail [dot] com
> > > blog: http://www.revolutionwebdesign.com/blog/
> > > cool tool: http://www.antiwrap.com
> > > ----------------------------------------------------------
> > > You are subscribed to cfcdev. To unsubscribe, send an email
> > > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> > > in the message of the email.
> > >
> > > CFCDev is run by CFCZone (www.cfczone.org) and supported
> > > by Mindtool, Corporation (www.mindtool.com).
> > >
> > > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL 
> > > PROTECTED]
> > > ----------------------------------------------------------
> > >
> > >
> > > You are subscribed to cfcdev. To unsubscribe, send an email
> > > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> > > in the message of the email.
> > >
> > > CFCDev is run by CFCZone (www.cfczone.org) and supported
> > > by Mindtool, Corporation (www.mindtool.com).
> > >
> > > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL 
> > > PROTECTED]
> > >
> >
> >
> >
> >
> > --
> > tony
> >
> > Tony Weeg
> >
> > macromedia certified cold fusion developer
> > email: tonyweeg [at] gmail [dot] com
> > blog: http://www.revolutionwebdesign.com/blog/
> > cool tool: http://www.antiwrap.com
> > ----------------------------------------------------------
> 
> 
> > You are subscribed to cfcdev. To unsubscribe, send an email
> > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> > in the message of the email.
> >
> > CFCDev is run by CFCZone (www.cfczone.org) and supported
> > by Mindtool, Corporation (www.mindtool.com).
> >
> > An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL 
> > PROTECTED]
> >
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
> 



-- 
tony

Tony Weeg

macromedia certified cold fusion developer
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/
cool tool: http://www.antiwrap.com
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to