No error, but the page didn't render.  I commented out the code and the
page worked again.

I found a work around though, it isn't optimal, but it works.  I changed
the cfc that returned the data to return a struct. In that struct is the
original query and a duplicate.

<cfset resultset.origQuery = myQuery />
<cfset resultset.backupQuery = myQuery />

When I cfreturn resultset, both items are available to the Actionscript
and I can make changes to one without effecting the other.

It works for now.  After I solve the user issue I will go back and see
alternate ways of doing this (and if I'm just doing stuff wrong)

Thanks for all the help.
Steve


-----Original Message-----
From: Dave Watts [mailto:[email protected]] 
Sent: Tuesday, July 20, 2010 12:21 PM
To: flex
Subject: Re: Copy a RecordSet in Actionscript.


> Tried the ObjectUtil, but it didn't work.

Can you provide more detail about what didn't work?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6439
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/flex/unsubscribe.cfm

Reply via email to