Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

format of page number

Status
Not open for further replies.

dh42891

Technical User
Oct 7, 2003
107
US
This should be an easy one for somebody...

My formula:

PageNumber & " of " & TotalPageCount

displays

1.00 of 3.00. I don't need my page count to accurate to the 100ths place. How do I tell CR 8.5 I don't want the decimal places? I know there is a special fields that displays "Page 1 of 3" but I don't want it to display 'page' either. Thanks,

dylan
 
Try:

totext(PageNumber,0,"") + " of " + totext(TotalPageCount,0,"")

Or just use the Special function: pagenofm

This will automatically produce

"Page 1 of 100"

-k
 
Worked like a charm, appreciate it. Heh, impressive response time too, couldn't have been more than a minute.

thanks,

dylan
 
There is a "Special Function" called "Page N of M". Try it, use it, like it.
 
I did try it, but didn't use it because I don't like it:

"I know there is a special field that displays "Page 1 of 3" but I don't want it to display 'page' either. "


Thanks

dylan
 
dh42891, you might also find it useful to check [Fields] on [Options] under [File]. You can set a default for decimals etc.

Madawc Williams (East Anglia)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top