Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Total Post Reply Post New Topic
<< Prev Page  of 2
Author Message
rajlan
Newbie
Newbie


Joined: 24 Sep 2007
Online Status: Offline
Posts: 13
Quote rajlan Replybullet Posted: 25 Sep 2007 at 1:45pm
 
If I use formula for one color(individually) it gives me the correct number.
Individual totals for individual colors is working fine
 
If I use all the formulas at a time, I'm getting total for one color and "0" for the remaining colors.  
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 25 Sep 2007 at 2:05pm
I see. So what you posted was one large formula? I thought you had just copied and posted a bunch of formulas into a single post.

Here is what I'm thinking: you STILL need to create individual formulas for each output field. You can do all the calculations necessary in one huge formula like you posted, but you can't print them out that way. A formula is restricted to just returning a single value. The last variable used in a formula is what gets displayed on a report. So you'll need a formula like this:
Global NumberVar BlackActTotal;
BlackActTotal;

and then a formula like this:
Global NumberVar BlackEstTotal;
BlackEstTotal;

and so on.... Then drag and drop each of these formulas in your footer.


Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
rajlan
Newbie
Newbie


Joined: 24 Sep 2007
Online Status: Offline
Posts: 13
Quote rajlan Replybullet Posted: 25 Sep 2007 at 3:47pm
That's what I did .... Cry
IP IP Logged
rajlan
Newbie
Newbie


Joined: 24 Sep 2007
Online Status: Offline
Posts: 13
Quote rajlan Replybullet Posted: 25 Sep 2007 at 3:48pm
They are all seperate formulas... one for each color
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 25 Sep 2007 at 8:46pm
I don't get it. Two posts ago you said that individual formulas work fine. Is this no longer true?
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
<< Prev Page  of 2
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.016 seconds.