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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Round Page Number 1

Status
Not open for further replies.

HezMac

Programmer
Jan 14, 2004
56
CA
Hello

I'm trying to put the PageNumber function in a formula, and it's coming back "Page 3.00 of 4.00".

I've tried the Round function but doesn't seem to be working. Is there something else I should try?

Here's the function:

Code:
If {V_CRYSTAL_EL_RENEWAL_NOTICE.OPTOUT} = 'NO' THEN
    'Page ' & Round(PageNumber - 1,1) & ' of ' & Round(TotalPageCount - 1,1)
ELSE
    PageNofM
 
Try:

If {V_CRYSTAL_EL_RENEWAL_NOTICE.OPTOUT} = 'NO' THEN
'Page ' & totext(PageNumber - 1,0,"") & ' of ' & totext(TotalPageCount - 1,0,"")
ELSE
PageNofM

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top