"R" is the structure of the query that is returned from the CFC. For sake of the naming convention, lets say I want to pass the value of "PassThisValue" To the doQueryResults call. Both of these are different values.
R is a query structure and PassThisValue would be a simple numeric variable. -----Original Message----- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 3:42 PM To: CF-Talk Subject: RE: ajaxcfc and Call back r myFirstArg is the name of the value passed into doQueryResults. But inside doQueryResults, the value is called r. So you should be able to use "r". <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 2:25 PM To: CF-Talk Subject: RE: ajaxcfc and Call back From what I gather using the following you can pass the variable as an argument. DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'doQuery', id, myfirstArg, doQueryResults); But the question is in the CallBack routine (doQueryResults), how do I reference myfirstArg? R = the query results from the cfc. Is it as simple as (r,firstArg) ? Function doQueryResults(r){ ???? } ----- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245172 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

