Using Crystal 9
Formula help needed. Currently, I am using the following simple formula:
@Hours
{Data.ApptTime} / 60
I modified the SQL in my report that will throw a curve ball to this formula. I am currently wanting to factor in these two additional fields:
{Data.ApptKind}
{Data.Column}
What I would like to have is to only calculate the hours (@Hours) when {Data.ApptKind} = 1 and {Data.Column} = 1.
I will have intstances were these two columns will be something other than 1, however I do not want them factoring into my original formula. Any help is deeply appreciated.