Crystal Reports for Eclipse Designer Guide

EvaluateAfter (x)

Description
This function can be used to force one formula to be evaluated after another.
Arguments
  • x is any valid formula name.
  • Returns
    None
    Action
    This function can be used to force one formula to be evaluated after another. For example, two separate formulas in your report may have the same evaluation time (BeforeReadingRecords, WhileReadingRecords, or WhilePrintingRecords), or they appear in the same section of the report and, therefore, are automatically evaluated while records are printing. In such cases, it is often unclear which formula is evaluated first.
    In many situations, it may be unimportant which formula is evaluated first. However, some situations may require that one formula be evaluated after another. For instance, one formula may set the value of a variable while the other formula reads the value of that variable. The EvaluateAfter function can be used to force the second formula to be evaluated after the first formula has completed.
    Examples
    EvaluateAfter({@SetVariable})
    Forces the formula to wait until the @SetVariable formula has completed calculations.



    SAP BusinessObjects
    http://www.sap.com/sapbusinessobjects/
    Support services
    http://service.sap.com/bosap-support/
    Product Documentation on the Web
    http://help.sap.com/