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!

Horizontal Page Numbers in formula editor

Status
Not open for further replies.

CrystalDBA

Technical User
Jan 8, 2004
3
US
I need to create a formula that shows a message:

First Page - "Continued on next page"
All othe Pages "Continued from previous page"

On the pages themselves, I have a text box that has two special fields embedded in it. I have PageNumber +"."+ Horinzontal Page Number. That works well.

But how can I write formulas with the horizontal page numbers?

I want to capture for page 1.1 which would be page 1. All others pages would get a "continued from previous page" message.

Thanks,

Tony
 
I thought that pagenumber was a value, your formula shows it as a string...must be new to CR 10.

Try a formula and reference the horizontal page number, as in:

If val(PageNumber & "." & Horinzontal Page Number) <= 1 then
"Continued on next page"
else
"Continued from previous page"

I don't have CR 10 here to test with.

-k
 
That is the question! In Crystal 10, I don't see how to reference "Horizontal Page Numbers" in the formula editor.

I see page numbers (PageNumber), but not horizontal page numbers.

Thanks,

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top