Description
Specifies that the formula is to be evaluated before the database records are read.
Action
Specifies that the formula is to be evaluated before the database records are read.
Typical uses
Formulas are normally evaluated at the following times:
If no database or group field is included in the formula, the formula is evaluated before the program reads database records.
If a database field is included in the formula, the formula is evaluated while the program reads database records.
If a group field, page number field, subtotal, and so on, is included in the formula, the formula is evaluated after database records are read and while the data from the records is being printed in the report.
BeforeReadingRecords forces the formula to be evaluated before the program reads database records. When this function is used in a formula, the Formula Checker returns an error message if you attempt to include elements in the formula (database fields, groups, and so on) that must be evaluated at a later time (while reading or while printing records).
Examples
BeforeReadingRecords;
ToNumber ("12345")
Forces the formula (which contains no database or group fields), to be evaluated before reading records.
If you try to include a database field or group in this formula, you will get an error message.