I want to add a field (formula field or a field from a table) into a text object like so:

CType(
rap.ReportDefinition.ReportObjects(strTexobjectName),
...