Re: dynamic valuelist

2007-01-26 Thread Michael Dinowitz
The toArray() function is not needed due to the way that component methods deal with passed arguments. To quote myself "The Arguments Scope When a UDF is executed, the Arguments scope will automatically be created to contain any information passed into the UDF. This scope is private to the UDF

Re: dynamic valuelist

2007-01-26 Thread Qasim Rasheed
Micheal, You can easily do something like this HTH Qasim On 1/26/07, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > > Perfect. > > And it uses something that I mentioned in my "From UDFs to CFCs" article > in FAQU 2. See what happens when you code without sleep. :) > > This is part of a new ve

Re: dynamic valuelist

2007-01-26 Thread Michael Dinowitz
Perfect. And it uses something that I mentioned in my "From UDFs to CFCs" article in FAQU 2. See what happens when you code without sleep. :) This is part of a new version of my MakeTree() UDF, which is being used by my 'soup to nuts' comment.cfc. And for those who will ask, I'll post it up fo

Re: dynamic valuelist

2007-01-26 Thread Adrian
untested: ArrayToList(Arguments.Query[Arguments.Unique]) On 26/01/07, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > > Here's an interesting one. A CF component method is passed a query and a > string who's value is the name of one of the query's columns. I want to use > the valuelist() function

dynamic valuelist

2007-01-26 Thread Michael Dinowitz
Here's an interesting one. A CF component method is passed a query and a string who's value is the name of one of the query's columns. I want to use the valuelist() function against the passed query and columnname. I can get it working using this: Arguments.Query is the query being pass

Re: dynamic valuelist

2002-07-10 Thread Michael Dinowitz
; > Email: [EMAIL PROTECTED] > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -Original Message- > > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 10, 2002 12:24 PM

RE: dynamic valuelist

2002-07-10 Thread Erika L. Walker
I was just about to replay to this and say *ahem* Evaluate() ? Erika >>| -Original Message- >>| From: Raymond Camden [mailto:[EMAIL PROTECTED]] >>| >>| Sure, just do: >>| >>| >>| >>| FYI - this is one of the FEW times

RE: dynamic valuelist

2002-07-10 Thread Andrew Tyrone
> -Original Message- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 12:07 PM > To: CF-Talk > Subject: RE: dynamic valuelist > > > Of course, in CFMX, you can treat query columns as arrays, so you don't > need evaluate th

RE: dynamic valuelist

2002-07-10 Thread Raymond Camden
]] > Sent: Wednesday, July 10, 2002 12:24 PM > To: CF-Talk > Subject: Re: dynamic valuelist > > > Thanks. Very sneaky. Now if I can just get past CF not liking > the passed query. :) > (which I assume is due to the query being passed by > reference, not value) > >

Re: dynamic valuelist

2002-07-10 Thread Michael Dinowitz
y is the Force, and a powerful ally it is." - Yoda > > > -Original Message- > > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 10, 2002 12:01 PM > > To: CF-Talk > > Subject: dynamic valuelist > > > > > > The Va

RE: dynamic valuelist

2002-07-10 Thread Raymond Camden
cromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 12:01 PM > To: CF-Talk > Subject: RE:

RE: dynamic valuelist

2002-07-10 Thread Raymond Camden
: [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 12:01 PM > To: CF-Talk > Subject: dynamic valuel

dynamic valuelist

2002-07-10 Thread Michael Dinowitz
The ValueList() function takes as its attribute the name of a query field. This is passed in without quotes (essentially breaking the rule of non-quoted variables inside functions being evaluated). What I want to do is create a UDF and pass in a query and the name of a column. These are to be c