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
> >
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to