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

When in the formula editor, Start out by typing the first charter of the function, press Ctrl-Space. The keyword auto complete will than show a list of the functions available beginning with the charter you typed in.

ADVERTISMENT