The good news is this is fairly simple and can be done in numerous ways, the following LotusScript code illustrates one simple way to do it assuming that you want to move values from the currently selected document (source) to another document in the target database (target). It could easily be extended to support virtually any scenario for moving data.
Dim nsCurrent as New NotesSession
Dim ndbSource as NotesDatabase, ndbTarget as NotesDatabase
Dim nvwTarget as NotesView
Dim ndocSource as NotesDocument, ndocTarget as NotesDocument
Set ndbSource = nsCurrent.CurrentDatabase
Set ndbTarget = nsCurrent.getDatabase(ndbSource.Server, "target.nsf")
Set nvwTarget = ndbTarget.getView("target")
Set ndocTarget = nvwTarget.getDocumentByKey("target",true)
If Not ndocTarget is Nothing Then
ndocTarget.targetFieldName=ndocSource.sourceFieldName
Else
MsgBox "Could not access target document", 16, "Error"
End if This was first published in March 2002