Sorry if this is answered later in this thread, I've only just got in to
work :O) 

>>4) This is worth repeating even though it has been covered ad nauseum on
>>this list: ALWAYS ALWAYS ALWAYS use the "var" keyword for ALL local (to a
>>method) variables.  This includes "i" in loops, names of queries, etc. --
>>you will never regret doing it and could end up pulling your hair out if
you
>>don't.

How do you var scope a query? I've been doing...

        <cfset var qMyQuery = "">

in the function then...
        
        <cfquery name="qMyQuery">
                ...
        </cfquery>

or rather...

        <cfprocresult name="qMyQuery".. />

is this what you mean or is there another way?

Thanks

Ade
        



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

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

Reply via email to