Chuck, thanks heaps for that tip, pointed me in the right direction. It happens my code to get the DC was fine, it was my code to look up field values that caused the problem.
I put the following into my computed field value and all was sweet..
var doc:NotesDocument = rowdata.getDocument();
return doc.getItemValueString("projectNumber")