I have a formula (@Elapsed) that calculates elapsed time in seconds from an event, and another formula (@DT) that converts the results to HH:MM:SS by calling @Elapsed. This works fine for the usage I originally intended it, however, now I find that I want to reuse the @DT function.
Ultimately, I now want to build a cross-tab where the summarized field is the average of @DT. Because @DT returns a string, I have to take the average of @Elapsed, and pass that value to @DT.
How do I pass a value to a Crystal function so that the function is dynamic? I do not want to have a million functions that converts seconds to HH:MM:SS.
I hope this is possible. Thanks.
Ultimately, I now want to build a cross-tab where the summarized field is the average of @DT. Because @DT returns a string, I have to take the average of @Elapsed, and pass that value to @DT.
How do I pass a value to a Crystal function so that the function is dynamic? I do not want to have a million functions that converts seconds to HH:MM:SS.
I hope this is possible. Thanks.