How to call the function
Posted: Tue Nov 04, 2008 1:51 am
Hi,
I plan to Sum the databand detail in each group footer band and then convert it to others format by calling the dll function. I manage to hardcode the dll path and set a reference at this moment. My question is how to convert the Sum value to others function.
Let assume my case is as below.
Emp No Emp Name OT
001 ABC 33
002 DEF 52
----------------------------------------------
Group Footer Band Total 01:25
----------------------------------------------
At the case above, i need to call a sum function {Sum(GroupHeader1,DynamicDataSchema.overtime)} but it will only return 85. In this case, i need to convert this 85 minutes to time which is 01:25. Assume i have a function call ConvertToTime(int min), how should i call my function and which event should i call?
I plan to Sum the databand detail in each group footer band and then convert it to others format by calling the dll function. I manage to hardcode the dll path and set a reference at this moment. My question is how to convert the Sum value to others function.
Let assume my case is as below.
Emp No Emp Name OT
001 ABC 33
002 DEF 52
----------------------------------------------
Group Footer Band Total 01:25
----------------------------------------------
At the case above, i need to call a sum function {Sum(GroupHeader1,DynamicDataSchema.overtime)} but it will only return 85. In this case, i need to convert this 85 minutes to time which is 01:25. Assume i have a function call ConvertToTime(int min), how should i call my function and which event should i call?