Use PESetAreaFormatFormula to change the specified area format formula to the formula string you supply as a parameter. This function will only change the text of a formula which already exists in the report; you cannot use it to add a formula. When you give the user the ability to change the formula at print time, your link must include code to replace the formulaString parameter with a user
BOOL CRPE_API PESetAreaFormatFormula (
short printJob,
short areaCode,
short formulaName,
const char FAR *formulaString );
Specifies the print job for which you want to set a new format formula string. | |
Specifies the Section Codes for the report area for which you want to set formatting options. See Working with section codes. | |
Specifies the name of the formatting formula for which you want to supply a new string. Use one of the PE_FFN_XXX Area/Section Format Formula Constants. | |
Specifies a pointer to the null |
Declare Function PESetAreaFormatFormula Lib "crpe32.dll" (
ByVal printJob As Integer, ByVal areaCode As Integer,
ByVal formulaName As Integer, ByVal formulaString As String ) As Integer
function PESetAreaFormatFormula(
printJob: Word;
areaCode: Word;
formulaName: Word;
formulaString: Pchar
): Bool stdcall;
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |