No that's not what I meant. What I meant was a cgi variable for the query's
name like myquery.columnlist gives you the query's column list and
myquery.recordcount gives you the query's record count. I want a cgi
variable for the query's name like myquery.queryname
----- Original Message -----
From: "Philip Arnold - ASP" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 09, 2000 3:14 AM
Subject: RE: Is there a variable for a query's name?
> > I am trying to make a tag that changes the scope of a query to the
> > attributes scope.
> >
> > I want to tagify...
> > <cfloop index = "i" list="#RETAILER_INFO.columnlist#">
> > <CFSET temp = SetVariable("attributes.#i#",
> > evaluate("RETAILER_INFO.#i#"))>
> > </cfloop>
> >
> > so what I want to do is...
> >
> > <cfloop index = "i" list="#caller.somequery.columnlist#">
> > <CFSET SetVariable("caller.attributes.#i#", evaluate("somequery.#i#"))>
> > </cfloop>
> >
> > Is there a variable for the query's name? There has to be one,
debugging
> > lists the names of the queries...
>
> As this hasn't been answered for a couple of days (and I'm just catching
up
> on emails)...
>
> You can use a variable name and Evaluate;
> <cfloop index = "i" list="#Evaluate("#caller.somequery#.columnlist")#">
> <CFSET SetVariable("caller.attributes.#i#",
> evaluate("#caller.somequery#.#i#"))>
> </cfloop>
>
> I'm not sure about the multiple scoping on caller.attributes. but the
query
> name should work
>
> Philip Arnold
> ASP Multimedia Limited
> T: +44 (0)20 8680 1133
>
> "Websites for the real world"
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.