BOFocus – Crystal Reports Tips – Tricks – Tutorials

Crystal Reports - Formulas

Add page numbers

If you would like to have your page number start with a high number, the following formula with accomplish this task.

The following formula example with begin the first page starting with 3

NumberVar BeginNum := 3;
“Page ” + ToText((PageNumber + BeginNum), 0) + ” of ” + ToText((TotalPageCount + BeginNum), 0)

The ToText() function is used to display your numeric values with no decimal digits.

Tagged ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

GET SOCIAL

QUICK TIP

Count should be used whenever you want to know the number of records that have the same information.

Distinct Count should be used whenever you want to know the number of records where the records are unique or different.

ADVERTISMENT