Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Totalpagecount Post Reply Post New Topic
Page  of 2 Next >>
Author Message
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Topic: Totalpagecount
    Posted: 16 Apr 2015 at 9:35pm
Hello

I want to put in a report bookmark (in the body), the totalpagecount, but, where, the report say me :
this function cannot to be use because it must to be evaluate at other time.

But, i must put it at this position in my report.

For this, i've make a variable with incrementation +1, but when i put this resul in my formula, always the problem.


Do you have a solution please ?

Thanks


Edited by Atori - 17 Apr 2015 at 3:10am
IP IP Logged
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Posted: 20 Apr 2015 at 9:48pm
no possibility ?
thanks
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Apr 2015 at 2:01am
not really understanding your issue / question.
totalpagecount is a standard special field. Where are you placing it that it is not functioning.
If it is in a formula what is that formula?
IP IP Logged
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Posted: 21 Apr 2015 at 2:22am
i want put it in a name group formula (bookmark), but not possible, i've an error.

example : {TABLE.DELIVERY}+":"+Totalpagecount;
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Apr 2015 at 2:41am
you cannot combine two different types of data (text and numeric) like that.
You want to display this is a string so you would have to convert the numeric field to a text field.
{TABLE.DELIVERY}+":"+totext(Totalpagecount,0,"")
The ,0"") indicates for it to display no decimals and to not use any seperator
IP IP Logged
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Posted: 21 Apr 2015 at 3:15am
yes but just i've :
this function cannot to be use because it must to be evaluate at other time.

IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Apr 2015 at 3:28am
where are you placing the formula?
is it in a sub report?
are you using it in another formula?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Apr 2015 at 3:32am
are you using
whilereadingrecords;
 
IP IP Logged
Atori
Newbie
Newbie
Avatar

Joined: 24 Nov 2009
Location: France
Online Status: Offline
Posts: 18
Quote Atori Replybullet Posted: 21 Apr 2015 at 3:51am
are you using
whilereadingrecords;

no

i put it in right click on the group (in body), change the group > options > formula


IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 21 Apr 2015 at 3:54am
you cannot group on it
groups are created first, which in turn effects the total number of pages, hence it is evaluated later.
don't group on it, just display it in the group header


Edited by DBlank - 21 Apr 2015 at 3:55am
IP IP Logged
Page  of 2 Next >>
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.