ok, gotcha.
Once more into the breech...
I've separated out the finding of the elements (through the connector) to the actual lookup/ notes copy. Its almost entirely working until the last stage: the actual notes copy:
Sub CopyNotesByID(sourceID, targetID)
'Debug
Repository.WriteOutput outPutName, "Copying from " & targetID & " to " & sourceID, 0
Repository.WriteOutput outPutName, "Copying " & Repository.GetElementByID(sourceID).Name & " to " & Repository.GetElementByID(targetID).Name, 0
'useful bit
Repository.GetElementByID(targetID).Notes = Repository.GetElementByID(sourceID).Notes
'commit
Repository.GetElementByID(targetID).Update()
end sub
Any ideas why the Notes aren't actually copying? I've put enough debug in this to see that everything is being called correctly, but my target element is not being updated. Its probably my immature VB script: last programmed VB about 20 years ago!