Groups | Blog | Home
all groups > macromedia flash flash remoting > april 2004 >

macromedia flash flash remoting : recordset cloning


csushi
4/14/2004 1:30:22 PM
I am using Flash remoting to populate a recordset and I have a datagrid
component to display this recordset. The datagrid is editable. I have a reset
button which should revert the datagrid to show the original recordset that was
received from the database.

The problem is, I don't know how to clone a recordset and I don't want to have
to make another trip to the database. I have tried creating a local record set
as a copy and adding items from the original recordset from the database but
the copy acts like it's just pointing/referencing the original recordset
because when a cell is changed in the datagrid so does the original recordset
as well as my local copy....
Jens Hauser
4/15/2004 10:28:22 AM
I know I have seen it here:
http://www.flash-remoting.com/examples/master.cfm but I can´t remember just
where. You will learn a lot while searching ;)

Jens

"csushi" <webforumsuser@macromedia.com> skrev i meddelandet
news:c5jede$qo2$1@forums.macromedia.com...
[quoted text, click to view]

Pete
4/15/2004 11:44:00 AM
You must be copying pointers rather than cloning the contents of RecordSet.
It must be possible, it's just more difficult if you're not familiar with
pointers.

csushi
4/16/2004 1:50:13 PM
AddThis Social Bookmark Button