didn't catch the first email, but what about an array...
<CFSET ArrayInsertAt(qryGet_current_values, param,
QueryNew(qryGet_current_NT_values.columnlist))
Terry Bader
IT/Web Specialist
EDO Corp - Combat Systems
(757) 424-1004 ext 361 - Work
[EMAIL PROTECTED]
(757)581-5981 - Mobile
[EMAIL PROTECTED]
icq: 5202487 aim: lv2bounce
http://www.cs.odu.edu/~bader
> -----Original Message-----
> From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 09, 2001 2:09 PM
> To: CF-Talk
> Subject: RE: Dynamic Left-hand side of an assignment? Was: query a
> query.
>
>
>
> > I get an error about left-hand side assignment when I try
> something like
> > this:
> >
> > <cfset "qryGet_current_" & param & "_values" =
> > QueryNew(qryGet_current_NT_values.columnlist)>
> > or
> > <cfset qryGet_current_#param#_values =
> > QueryNew(qryGet_current_NT_values.columnlist)>
> >
>
> what about the other combination of what you already tried,
>
> <cfset "qryGet_current_#param#_values" =
> QueryNew(qryGet_current_NT_values.columnlist)>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists