Just the method, or, if you feel you get the idea now, don't bother. It's easy to forget to var scope loop counters and other variables.
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tony Weeg > Sent: Monday, November 03, 2003 3:36 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] query in cfc --> queryObject out of cfc > (version 2 - scoped) > > > you wanna see the whole thing? > > ...tony > > tony weeg > senior web applications architect > navtrak, inc. > www.navtrak.net > [EMAIL PROTECTED] > 410.548.2337 > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Raymond Camden > Sent: Monday, November 03, 2003 4:27 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] query in cfc --> queryObject out of cfc > (version 2 - > scoped) > > Didn't you also use a loop with index=i? i needs to be scoped > as well. Why not post the entire method now. :) > > ============================================================== > ========== > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > (www.mindseye.com) > Member of Team Macromedia > (http://www.macromedia.com/go/teammacromedia) > > Email : [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of Tony Weeg > > Sent: Monday, November 03, 2003 3:20 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [CFCDev] query in cfc --> queryObject out of > cfc (version > > 2 - scoped) > > > > > > this is what I have at the top now :) > > > > is this right? > > > > <cfcomponent displayName="dpv1WebReports" hint="DPV1 Raw Data Web > > Reports"> > > > > <cffunction name="stopsAndIgnitions" access="public" > > output="1" returntype="query"> > > > > <cfargument name="ipAddressNumber" type="numeric" > > required="Yes"/> > > <cfargument name="beginDateTime" type="date" > > required="Yes"/> > > <cfargument name="endDateTime" type="date" > > required="Yes"/> > > > > <cfset var get = ""> > > <cfset var usedArray = arrayNew(1)> > > <cfset var stopTimeArray = arrayNew(1)> > > <cfset var arrayValues = 0> > > <cfset var addColumn = 0> > > <cfset var stopTimeBegin = 0> > > <cfset var stopTimeEnd = 0> > > <cfset var stopTime = 0> > > <cfset var stopTimeSet = 0> > > <cfset var used = 0> > > > > > > ...tony > > > > tony weeg > > senior web applications architect > > navtrak, inc. > > www.navtrak.net > > [EMAIL PROTECTED] > > 410.548.2337 > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of > Bryan F. Hogan > > > > Sent: Monday, November 03, 2003 4:02 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [CFCDev] query in cfc --> queryObject out of > cfc (version > > 2 - > > scoped) > > > > Yes on every point except for all of them a value of 0. It > depends on > > the type of variable. > > > > If the variable is a loop index like "idx" <cfset var > idx=1> if it's a > > query name you can do <cfset var qry_GetUsers=''>, etc, etc. > > > > > > ---------------------------------------------------------- > > 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). > > > > 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 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). > > > > 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 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). > > 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 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). > > 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 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). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
