Migrating from API to RDC - C++

I'm having trouble finding an equivalent RDC replacement for the CRAPI call PESetFormula.

API Version
PESetFormula( m_jobno, pName, pString );

RDC Version
m_Report->FormulaFields->GetItemByName( pName )->PutText( pString );

I thought the above RDC version would work but I'm getting and error from the viewer "The remaining text does not appear to be part of the formula".

If anyone knows of a document with API/RDC suggested equivalent methods that would be awesome. I have a long way to go migrating our report DLL and time is getting short.

Thanks for the help
BrianM_AZAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.