Page number in report [message #321672] |
Wed, 21 May 2008 00:31 |
smithagirish
Messages: 10 Registered: March 2008 Location: kochi
|
Junior Member |
|
|
hai all
Can any one pls help me
In my report i have page numbers displayed in the format "Page 1 of 5"..
but if i have only 1 page in the report then i don't want to display "Page 1 of 1" in my report
Thanks
|
|
|
|
|
Re: Page number in report [message #324298 is a reply to message #323983] |
Sun, 01 June 2008 18:26 |
|
I don't know exactly what you did, you don't post your code. Okay, try this, create a text item, the source must be "totalpages". name that item as 't_pages'. I forgot how to reference an item in report coz i'm not doing it anymore, but your code must be something like this. you put this on item that displays page Of total Page/s.
If t_pages > 1 then
return(TRUE);
Else
return(FALSE);
End If;
again, post what you got from here including your code.
[Updated on: Sun, 01 June 2008 18:27] Report message to a moderator
|
|
|
Re: Page number in report [message #324399 is a reply to message #321672] |
Mon, 02 June 2008 06:03 |
|
Try It.
You needed is Page no : 1 of 5
Insert the Field and select the property.
They were Choose the : Physical Page Number
Insert another Field and select the property.
They were Choose the : Total Pages
Page no : Physical Page Number (of) Total Pages
|
|
|
|
|