Never mind, I got it!  

I had to fix two things.  To resolve the error I reported in my first e-mail, I 
had to change my hidden fields that were holding the values for the arguments 
to text fields (visible = "no").  Then I changed my CFC so that I was building 
a string for the query like this:

<cfset runQuery = "SELECT " & arguments.IDFieldName & " AS IDFieldName," & 
arguments.FieldName & " AS FieldName FROM " & arguments.TableName & " ORDER BY 
" & arguments.FieldName>

and used that to run the query.

And voila!  Works perfectly.  Fun how stupid little oversights like that can 
lead to a day's worth of frustration.

Meghan

> I'm trying out Flash remoting for the very first time and am 
> completely baffled about an error I'm receiving.  I have an admin form 
> in an application that allows users to maintain a number of lookup 
> tables, which feed various dropdown lists throughout the app.  
> Currently this is set up so that the user selects which dropdown list 
> they want to maintain via a cfselect, the onChange event of the 
> cfselect submits the form, and the existing values in the 
> corresponding lookup table are then displayed in a cfgrid.  I want to 
> use remoting to allow users to move back and forth between various 
> dropdown lists without submitting the form.
> 
> ::snipped::

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283022
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to