Change key and copy it to another record set

I am trying to copy the currentkey from one record set to another one, in (on) a subform. I have tried Rec:=PassedRecordSet where recordset is a parameter in a function. But that doesnt work. I have tried Currentkey, which works but I cant set the key with the code/Text from CURRENTKEY on SETCURRENTKEY(Code/text); I have Tried Getview and Setview. It all doesnt work? Any ideas?

Try the COPY Command. The syntax is Record.COPY(FromRecord). Chris.