These are the reporting specific functions
BeforeReadingRecords, WhileReadingRecords, WhilePrintingRecords and
EvaluateAfter. You can use these functions to guide
Crystal Reports as to when your formula should be evaluated.
Should the formula be evaluated before
retrieving the records from the database, while reading the records from the
database but before the records have been grouped, sorted and summarized, or
while printing the report, when the records are grouped, sorted and summarized?
In general,
Crystal Reports sets an appropriate evaluation time for your
formula, based on how much information the formula needs. For example, if a
formula uses a database field, then it cannot be evaluated before the records
are read from the database. However, you sometimes need to force a later
evaluation time than normal to get the desired effect. See
Global variables (Crystal syntax) for an
example.