VBugDenver
Technical User
I am creating a formula field in Crystal Reports. I have the formula named and am having trouble with the syntax. I need this to be a conditional formula and the result will be the time difference between a dates/time field based on a condition.
The fields are:
{Schedule App_DtTm} which returns a result like: 3/3/2011 12:00:00PM
{Schedule.Activity} with returns a result like: Simulation or Treatment
This is what I am trying to do:
I need to subtract {Schedule App_DtTm} where {Schedule.Activity} = “treatment” from {Schedule App_DtTm} where {Schedule.Activity} = “Simulation”
Any ideas?
The fields are:
{Schedule App_DtTm} which returns a result like: 3/3/2011 12:00:00PM
{Schedule.Activity} with returns a result like: Simulation or Treatment
This is what I am trying to do:
I need to subtract {Schedule App_DtTm} where {Schedule.Activity} = “treatment” from {Schedule App_DtTm} where {Schedule.Activity} = “Simulation”
Any ideas?