Hello, I am using Crystal Reports v7.0 to create a report. On this report I have a function (in the detail section) that calculates how many Direct Type jobs there are and how many Indirect Type jobs. I have a function included in the detail section which follows:
NumberVar NumDirectJobCount;
NumberVar NumIndirectJobCount;
If {V_JOBS_CREATED.JOB_TYPE}[1 to 3] = "Dir" Then
NumDirectJobCount := NumDirectJobCount + {V_JOBS_CREATED.NUM_JOBS}
Else
NumIndirectJobCount := NumIndirectJobCount + {V_JOBS_CREATED.NUM_JOBS}
I need to display these variables in the report footer (where all my totals will be located). I need help on how to pass the value of the two variables above to another function so I can display them in the report footer.
Thanks,
Jason
NumberVar NumDirectJobCount;
NumberVar NumIndirectJobCount;
If {V_JOBS_CREATED.JOB_TYPE}[1 to 3] = "Dir" Then
NumDirectJobCount := NumDirectJobCount + {V_JOBS_CREATED.NUM_JOBS}
Else
NumIndirectJobCount := NumIndirectJobCount + {V_JOBS_CREATED.NUM_JOBS}
I need to display these variables in the report footer (where all my totals will be located). I need help on how to pass the value of the two variables above to another function so I can display them in the report footer.
Thanks,
Jason