Use PEGetNthFormula to retrieve information about a specific formula in the report. Use this function to obtain the formula name and formula text of a specific formula in the report. This function can be used to retrieve the formula text to allow the user to edit the formula. You can then change the formula text with PESetFormula.
BOOL CRPE_API PEGetNthFormula (
short printJob,
short formulaN,
HANDLE FAR *nameHandle,
short FAR *nameLength,
HANDLE FAR *textHandle,
short FAR *textLength );
Declare Function PEGetNthFormula Lib "crpe32.dll" (ByVal printJob As Integer, ByVal FormulaN As Integer, NameHandle As Long, NameLength As Integer, TextHandle As Long, TextLength As Integer) As Integer
function PEGetNthFormula (
printJob: Word;
formulaN: integer;
var nameHandle: Hwnd;
var nameLength: Word;
var textHandle: Hwnd;
var textLength: Word
): Bool stdcall;
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |