Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Conditional Calculation Help Post Reply Post New Topic
Author Message
leeman
Newbie
Newbie


Joined: 09 Oct 2013
Location: United Kingdom
Online Status: Offline
Posts: 2
Quote leeman Replybullet Topic: Conditional Calculation Help
    Posted: 28 Nov 2014 at 1:02am
Hello,
On the face of it, the report I need to create is quite simple: amount of time in days that an RMA takes to to arrive after being issued which would normally be a simple subtraction of Received date - Issued Date.
However there is only one field where the Issued and Received information is kept {ServiceCallRMA.Action}.
Please can some one tell me how to  go about this? The way I am thinking is something along the lines of:
if  {ServiceCallRMA.Action} = "RMA Received" then A
if {ServiceCallRMA.Action} = "RMA Issued" then B
 
A-B= Amount of days.
 
As you can probably tell, I am not the most experienced Smile
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 28 Nov 2014 at 2:33am
You will need to perform this action in the group footer or header.
 
Create 1 formula for Received as you have done above and a second for Issued
 
then in a third formula which you place in your header or footer use the following
 
DateDiff('d',MAXIMUM({@Start DateTime},{group name}),MAXIMUM({@End DateTime},{group name}));
IP IP Logged
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.047 seconds.