Don't thank me... The amount of times I've posted the Evaluate function
to the list and had Ray Camden kindly point out the error of my ways in
gigantic capital letters has taught me :)



-----Original Message-----
From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED]] 
Sent: 22 January 2002 15:41
To: CF-Community
Subject: RE: brain fart


I always say, "you learn something new every day".  I never knew you
could do this... thanks for the tip!

Hatton


> -----Original Message-----
> From: Mike Townend [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 22, 2002 10:34 AM
> To: CF-Community
> Subject: RE: brain fart
>
>
> Try not to use Evaluate as its slower to run than accessing the 
> collection...
>
> <CFLOOP COLLECTION="#FORM#" ITEM="itmForm">
>       <CFIF Left(itmForm) EQ "v">
>               <cfoutput>
>                       #itmForm# = #FORM[itmForm]#
>               </cfoutput>
>       </CFIF>
> </CFLOOP>
>
>
>
> -----Original Message-----
> From: C. Hatton Humphrey [mailto:[EMAIL PROTECTED]]
> Sent: 22 January 2002 15:31
> To: CF-Community
> Subject: RE: brain fart
>
>
> Use the evaluate function.... something like
> <cfloop from=1 to=3 index="x">
>   <cfoutput>
>   v#x# = #Evaluate("v#x#")#
>   </cfoutput>
> </cfloop>
>
> Not sure the syntax is 100% on that, but that's the general idea.
>
> Hatton
>
>
> > -----Original Message-----
> > From: Raley, Scott [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 22, 2002 10:14 AM
> > To: CF-Community
> > Subject: RE: brain fart
> >
> >
> > my email got cut off.. I can't figure out how to access the 
> > element.. what would be the string name? right now the values CF 
> > sees are:
> >
> > V1=0
> > V2=12
> > V3=4
> >
> > etc...
> >
> > -----Original Message-----
> > From: Nick McClure [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 22, 2002 10:14 AM
> > To: CF-Community
> > Subject: Re: brain fart
> >
> >
> > You probably want to use.
> >
> > right(STRING,len(STRING) - 1)
> >
> > That will give you the number
> >
> > At 10:01 AM 1/22/2002 -0500, you wrote:
> > >okay... I can't get this through my head anymore...
> > >
> > >I have a form where the names of the input fields are v1 through 
> > >v12 and each has a value.. I want to take v1 and insert the "1" 
> > >into the database along with the value for it. I can't for the life

> > >of me figure out how to extract this to a variable to insert it.. I

> > >know I can use the
> > mid function
> > >
> >
> >
>
> 

______________________________________________________________________
Macromedia ColdFusion 5 Training from the Source
  Step by Step ColdFusion
  http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to